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

IndexWriter#updateDocValues can break index sorting

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 6.4, 7.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: