[
https://issues.apache.org/jira/browse/LUCENE-6207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adrien Grand updated LUCENE-6207:
---------------------------------
Attachment: LUCENE-6207.patch
The bug is that doc values terms enums assume that nothing else is going to use
the underlying dv instance at the same time. Here is a patch that makes the
attached test case pass. I also added tests to the base dv format test case and
to the Lucene50 one to test the compressed terms dict.
> Multiple filtered subsets of the same underlying index passed to
> IW.addIndexes() can produce an index with bad SortedDocValues
> ------------------------------------------------------------------------------------------------------------------------------
>
> Key: LUCENE-6207
> URL: https://issues.apache.org/jira/browse/LUCENE-6207
> Project: Lucene - Core
> Issue Type: Bug
> Components: core/index
> Affects Versions: 4.9, 4.9.1, 4.10, 4.10.1, 4.10.2, 4.10.3
> Reporter: TomShally
> Priority: Minor
> Attachments: LUCENE-6207.patch, Lucene6207Test.java,
> Lucene6207Test.java
>
>
> Were hit by this in a custom index splitter implementation that showed no
> problems with Lucene 4.8. After upgrading to 4.10 documents started having
> wrong SortedDocValues after splitting.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]