[jira] [Updated] (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] [Updated] (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:all-tabpanel ]

Simon Willnauer updated LUCENE-8594:
    Affects Version/s:     (was: 7.7)

> 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: 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

To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]