On Feb 4, 2004, at 9:07 AM, [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to