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:37:00 UTC
[jira] [Updated] (LUCENE-8594) DV update are broken for updates on
new field
[ https://issues.apache.org/jira/browse/LUCENE-8594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Simon Willnauer updated LUCENE-8594:
------------------------------------
Issue Type: Bug (was: Improvement)
> 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: Bug
> Affects Versions: master (8.0), 7.7
> Reporter: Simon Willnauer
> Priority: Blocker
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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