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

Create UninvertDocValuesMergePolicy

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: None
    • 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

          Activity

            People

            • Assignee:
              cpoerschke Christine Poerschke
              Reporter:
              k317h Keith Laban

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment