On Apr 24, 2004, at 11:25 PM, Tapan Bhattacharya wrote:
Thanks for your prompt response. What happes when more than one document has the same score? How are the results then ranked?

Equivalent scoring documents are then subsorted by document insertion order by default.


With the 1.4 version of Lucene, there is a very sophisticated way to sort, and you could choose to sort by "relevance" (rank/score), and then sub-sort by some other field value (ascending or descending) and now within even the latest unreleased version a comparator feature was added so you could develop your own mechanism for sorting given two documents.

Erik



-TB


Erik Hatcher <[EMAIL PROTECTED]> wrote:
On Apr 24, 2004, at 4:22 PM, Tapan Bhattacharya wrote:
I'm a newbie, so I apologize if this is too naive a question. In
looking at some of the available documentation, I have not come across
any reference to ranking results. How is it done in Lucene?

It uses this formula:


Similarity.html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download Messenger Now


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to