lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: sorting with lucene 4.3
Date Wed, 31 Jul 2013 19:05:05 GMT
On Wed, Jul 31, 2013 at 2:51 PM, Nicolas Guyot <> wrote:
> I have written a quick test to reproduce the slower sorting with numeric DV.
> In this test case, it happens only when reverse sorting.

Right - I bet your numeric field is relatively ordered in the index.
When this happens, there is always one sort order that is less
efficient because the priority queue is constantly finding more
competitive hits as we search through the index.  If you index random
numbers (or in a random order), the discrepancy between the sort order
should disappear.


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

View raw message