lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <>
Subject Re: Sort.INDEXORDER works incorrectly?
Date Tue, 17 Apr 2012 23:33:12 GMT
On Wed, Apr 18, 2012 at 9:27 AM, Vladimir Gubarkov <> wrote:
> Hi, dear Lucene specialists,
> The only explanation I could think of is the new TieredMergePolicy
> instead of old LogMergePolicy. Could it be that because of
> TieredMergePolicy merges not adjacent segments - this results in not
> preserving index order or this is total nonsense?

TieredMergePolicy will definitely shuffle the order of docs in your
index. But unless you provided a Version of Version.LUCENE_32 or later
when constructing your IndexWriterConfig, it shouldn't be using that
(and this won't happen automatically when you upgrade, unless you're
doing something odd like using LUCENE_LATEST...)


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

View raw message