lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: [newbie] Hit quality rating
Date Wed, 04 Feb 2004 14:14:35 GMT
On Feb 4, 2004, at 9:07 AM, 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.


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

View raw message