On Tue, Sep 6, 2011 at 5:49 PM, Ted Dunning <[email protected]> wrote:
> Mostly these would preserve ordering, I expect.
> (not a guarantee by any stretch)

In the past, ordering was always preserved.
But now the default merge policy (TieredMergePolicy) freely selects
the best segments to merge, even if they are non-adjacent (and that
reorders ids with respect to other ids, unlike purging deletes).  I
even had to rewrite some tests that started failing when this change
went into effect, due to past assumptions about docids.

-Yonik
http://www.lucene-eurocon.com - The Lucene/Solr User Conference


> On Tue, Sep 6, 2011 at 2:00 PM, Yonik Seeley <[email protected]>
> wrote:
>>
>> It's also transient, in that it can change across commit calls (either by
>> deleted documents being squeezed out, or by non-adjacent segments being
>> merged).
>
>

Reply via email to