Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10046

Create UninvertDocValuesMergePolicy

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      None

      Description

      Create a merge policy that can detect schema changes and use UninvertingReader to uninvert fields and write docvalues into merged segments when a field has docvalues enabled.

      The current behavior is to write null values in the merged segment which can lead to data integrity problems when sorting or faceting pending a full reindex.

      With this patch it would still be recommended to reindex when adding docvalues for performance reasons, as it not guarenteed all segments will be merged with docvalues turned on.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cpoerschke Christine Poerschke
                Reporter:
                k317h Keith Laban
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: