lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: How the default ranking works
Date Tue, 20 Sep 2005 20:10:31 GMT

On Sep 20, 2005, at 4:03 PM, tirupathi reddy wrote:
>    How the hits are ranked in default case. If I have say some  
> query like this:
> title:"measurement procedure" AND id:ep6289*
> Say I have some 10 documents matched with that query, how my hits  
> will be displayed. Which record will display first and how it will  
> do the ranking in default case. And also think that I don't have  
> any sort Field.
> Please give me some resources where I can read all about Indexing,  
> Ranking of Lucene.

To dig through it yourself, check out IndexSearcher.explain().  To  
dig deeper, look at the javadocs on Similarity.

There is of course a bit on scoring in "Lucene in Action":


You have a copy of this book, right?!  :)


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message