Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7581

IndexWriter#updateDocValues can break index sorting

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4, 7.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      IndexWriter#updateDocValues can break index sorting if it is called on a field that is used in the index sorting specification.
      TestIndexSorting has a test for this case: #testConcurrentDVUpdates
      but only L1 merge are checked. Any LN merge would fail the test because the inner sort of the segment is not re-compute during/after DV updates.

        Attachments

        1. LUCENE-7581.patch
          3 kB
          Jim Ferenczi
        2. LUCENE-7581.patch
          7 kB
          Jim Ferenczi

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jim.ferenczi Jim Ferenczi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: