I know that my question is very naive and basic but still I would like to get it clarified from you guys.

I want to know if cosine similarity is the default similarity in Lucene? That is when I use the DefaultSimilarity class, does it return the cosine similarity between the query and the document?

If so, how should one get the score for the Lucene's Practical Scoring Function (http://lucene.apache.org/java/3_0_1/...e/index.html)?

Any quick responses would be of great help.