You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2016/05/13 10:15:12 UTC

[jira] [Created] (LUCENE-7281) Can IW sort segments on flush too?

Michael McCandless created LUCENE-7281:
------------------------------------------

             Summary: Can IW sort segments on flush too?
                 Key: LUCENE-7281
                 URL: https://issues.apache.org/jira/browse/LUCENE-7281
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Michael McCandless


Spinoff from LUCENE-6766, where we made index-time sorting first class in Lucene, except only merged segments get sorted.

Can we also sort flushed segments?  This would be cleaner because then search-time users don't need to fret about whether a given segment is sorted or not, and it would also improve the current "best effort" check IW does that you didn't try to change the index sort order, to an accurate check.

But this is tricky because e.g. at least term vectors and stored fields write "live" to the segment's (codec's) files as documents are being indexed...



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org