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

Create UninvertDocValuesMergePolicy

    XMLWordPrintableJSON

Details

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

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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