You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2018/12/06 10:36:00 UTC
[jira] [Created] (LUCENE-8594) DV update are broken for updates on
new field
Simon Willnauer created LUCENE-8594:
---------------------------------------
Summary: DV update are broken for updates on new field
Key: LUCENE-8594
URL: https://issues.apache.org/jira/browse/LUCENE-8594
Project: Lucene - Core
Issue Type: Improvement
Affects Versions: master (8.0), 7.7
Reporter: Simon Willnauer
A segmemnt written with Lucene70Codec failes if it ties to update
a DV field that didn't exist in the index before it was upgraded to
Lucene80Codec. We bake the DV format into the FieldInfo when it's used
the first time and therefor never go to the codec if we need to update.
yet on a field that didn't exist before and was added during an indexing
operation we have to consult the coded and get an exception.
This change fixes this issue and adds the relevant bwc tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org