[ https://issues.apache.org/jira/browse/SOLR-10046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15926101#comment-15926101 ]
Christine Poerschke commented on SOLR-10046: -------------------------------------------- Thanks Keith! Above commit is for master branch, for the backporting to branch_6x some adjustments appear to be needed, I've made a start on [jira/SOLR-10046-branch_6x|https://github.com/apache/lucene-solr/tree/jira/SOLR-10046-branch_6x] working branch w.r.t. src changes but test changes still remain to be done; I won't have more time for it today, hence sharing the working branch in case you might have time today or this week. > Create UninvertDocValuesMergePolicy > ----------------------------------- > > Key: SOLR-10046 > URL: https://issues.apache.org/jira/browse/SOLR-10046 > Project: Solr > Issue Type: Improvement > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Keith Laban > Assignee: Christine Poerschke > > 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.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org