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: [newbie] Hit quality rating
Date Wed, 04 Feb 2004 14:14:35 GMT
On Feb 4, 2004, at 9:07 AM, lucene@nitwit.de wrote:
> On Wednesday 04 February 2004 14:48, Otis Gospodnetic wrote:
>> There is score.
>
> Oops, you are right Hits.score(). But it seems I have to implement a 
> sorting
> iterator on my own :-\

Well, the original design is to have hits sorted by score.... you want 
the most relevant first.  Sorting defeats the purpose of a score in 
many respects.

But in the latest CVS (unreleased, must build it yourself) version of 
Lucene, a very slick contribution has been added to sort by an integer 
field.  Other datatypes are in the works.

	Erik


---------------------------------------------------------------------
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