[ https://issues.apache.org/jira/browse/LUCENE-10354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand resolved LUCENE-10354. ----------------------------------- Fix Version/s: 9.1 Resolution: Fixed > Clarify contract of codec APIs with missing/disabled fields > ----------------------------------------------------------- > > Key: LUCENE-10354 > URL: https://issues.apache.org/jira/browse/LUCENE-10354 > Project: Lucene - Core > Issue Type: Task > Reporter: Adrien Grand > Priority: Minor > Fix For: 9.1 > > Time Spent: 1h > Remaining Estimate: 0h > > The question has come up a few times of how codec APIs should react to > fields that are missing or do not have the relevant feature enabled. > This issue proposes that we improve javadocs and AssertingCodec following the > same model as doc values and norms: > - The behavior of codec APIs on fields that are missing or don't have the > feature enabled is undefined. > - CodecReader is responsible for checking FieldInfos before delegating to > codec APIs. > - AssertingCodec ensures that we never call codec APIs on missing/disabled > fields. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org