[jira] [Commented] (LUCENE-8594) DV update are broken for updates on new field

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (LUCENE-8594) DV update are broken for updates on new field

JIRA jira@apache.org

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

ASF subversion and git services commented on LUCENE-8594:
---------------------------------------------------------

Commit aaa64d7015998f28aaffac031c4032abf73bebd6 in lucene-solr's branch refs/heads/master from [~simonw]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=aaa64d7 ]

LUCENE-8594: DV update are broken for updates on new field

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.


> 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)
>            Reporter: Simon Willnauer
>            Priority: Blocker
>          Time Spent: 1h 40m
>  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: [hidden email]
For additional commands, e-mail: [hidden email]