lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Ranking
Date Sun, 25 Apr 2004 10:55:32 GMT
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 <erik@ehatchersolutions.com> 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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
> 		
> ---------------------------------
>   Yahoo! Messenger - Communicate instantly..."Ping" your friends 
> today! Download Messenger Now


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message