Keith Laban created SOLR-10046:
----------------------------------

             Summary: Create UninvertDocValuesMergePolicy
                 Key: SOLR-10046
                 URL: https://issues.apache.org/jira/browse/SOLR-10046
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Keith Laban


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to