lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-10047) Mismatched Docvalue segments cause exception in Sorting/Facting; Uninvert per segment
Date Mon, 24 Apr 2017 19:02:04 GMT

    [ https://issues.apache.org/jira/browse/SOLR-10047?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15981686#comment-15981686
] 

ASF subversion and git services commented on SOLR-10047:
--------------------------------------------------------

Commit ef56f3868834243071b0d663aaab19fa21212495 in lucene-solr's branch refs/heads/branch_6x
from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=ef56f38 ]

SOLR-10047: Move test into its own test class and force use of NoMergePolicy to fix test failures

This closes #195

(cherry picked from commit 56e1ad4)


> 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
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 6.6, master (7.0)
>
>         Attachments: SOLR_10047_test.patch
>
>
> 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message