You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by "Kevin A. Burton" <bu...@newsmonster.org> on 2003/08/08 09:38:50 UTC
Default sort order with identical scores.
I want to run a query where all the results would have the identical
score of 1.0 (all documents of type X with a date > D)
The trick is that i need to get the result set BACK sorted by the date.
The Lucene filter mechanism is optimized to use the index but the only
problem is that I want to get the results back by date.
It appears that Lucene will return the result set back by date but I
assume that since the scores are identical it isn't doing a sort by
score so I am getting my results back in descending order. Would this
be a correct assumption? Is this behavior something I can depend on?
Thanks!
Kevin
--
Help Support NewsMonster Development! Purchase NewsMonster PRO!
http://www.newsmonster.org/download-pro.html
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
AIM - sfburtonator, Web - http://www.peerfear.org/
GPG fingerprint: 4D20 40A0 C734 307E C7B4 DCAA 0303 3AC5 BD9D 7C4D
IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org