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

Adrien Grand commented on LUCENE-8134:
--------------------------------------

Here is a patch that takes the same approach that we already use for points and 
doc values. The test checks that index options cannot be changed by 
addDocument, addIndexes(CodecReader) or addIndexes(Directory).

> Disallow changing index options on the fly
> ------------------------------------------
>
>                 Key: LUCENE-8134
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8134
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Adrien Grand
>            Priority: Minor
>             Fix For: master (8.0)
>
>         Attachments: LUCENE-8134.patch
>
>
> Follow-up of LUCENE-8031: changing index options is problematic because the 
> way a field is indexed can influence the way the field length should be 
> computed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to