[
https://issues.apache.org/jira/browse/SOLR-10047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15970859#comment-15970859
]
ASF subversion and git services commented on SOLR-10047:
--------------------------------------------------------
Commit 3e4629b8dfc6942fe391b741a8fb7d7baaeb854d in lucene-solr's branch
refs/heads/branch_6x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=3e4629b ]
SOLR-10047: Mismatched Docvalues segments cause exception in Sorting/Faceting.
Solr now uninverts per segment to avoid such exceptions
Squashed commit of the following:
commit c38f4cabc2828ee83b53b931dd829e29a3e1701c
Author: Keith Laban <[email protected]>
Date: Tue Apr 11 17:17:05 2017 -0400
reverted tests to using old wrap interface
commit 806f33e092491cc6a2ee292d2934c76171e40dc7
Author: Keith Laban <[email protected]>
Date: Tue Apr 11 17:13:34 2017 -0400
updated UninvertingReader.wrap / tests
commit b10bcab338b362b909491fea1cf13de66f5f17c0
Author: Keith Laban <[email protected]>
Date: Wed Apr 5 14:57:28 2017 -0400
SOLR-10047 - Updated javadoc/renamed class/added getReaderCacheHelper
commit 90ecf5a4ae4feaf3efc42a1ed8643ad21e1c73ce
Author: Keith Laban <[email protected]>
Date: Wed Jan 18 16:39:51 2017 -0500
SOLR-10047 - SolrIndexSearcher, UninvertingReader, uninvert docvalues per
segment
(cherry picked from commit 4da901a0728239ac4e87b662533f966158991948)
# Conflicts:
# solr/core/src/test/org/apache/solr/schema/DocValuesTest.java
> Mismatched Docvalue segments cause exception in Sorting/Facting; Uninvert per
> segment
> -------------------------------------------------------------------------------------
>
> Key: SOLR-10047
> URL: https://issues.apache.org/jira/browse/SOLR-10047
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Keith Laban
>
> The configuration of UninvertingReader in SolrIndexSearch creates a global
> mapping for the directory for fields to uninvert. If docvalues are enabled on
> a field the creation of a new segment will cause the query to fail when
> faceting/sorting on the recently docvalue enabled field. This happens because
> the UninvertingReader is configured globally across the entire directory, and
> a single segment containing DVs for a field will incorrectly indicate that
> all segments contain DVs.
> This patch addresses the incorrect behavior by determining the fields to be
> uninverted on a per-segment basis.
> With the fix, it is still recommended that a reindexing occur as data loss
> will when a DV and non-DV segment are merged, SOLR-10046 addresses this
> behavior. This fix is to be a stop gap for the time between enabling
> docvalues and the duration of a reindex.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]