[jira] [Created] (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] [Created] (LUCENE-8594) DV update are broken for updates on new field

JIRA jira@apache.org
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: [hidden email]
For additional commands, e-mail: [hidden email]