lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin A. Burton" <>
Subject Default sort order with identical scores.
Date Fri, 08 Aug 2003 07:38:50 GMT
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?



Help Support NewsMonster Development!  Purchase NewsMonster PRO!

Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
       AIM - sfburtonator,  Web -
GPG fingerprint: 4D20 40A0 C734 307E C7B4  DCAA 0303 3AC5 BD9D 7C4D
  IRC - #infoanarchy | #p2p-hackers | #newsmonster

View raw message