iverase commented on code in PR #13460:
URL: https://github.com/apache/lucene/pull/13460#discussion_r1629388801


##########
lucene/core/src/java/org/apache/lucene/index/FieldInfos.java:
##########
@@ -403,11 +385,8 @@ static final class FieldNumbers {
     FieldNumbers(String softDeletesFieldName, String parentFieldName) {
       this.nameToNumber = new HashMap<>();
       this.numberToName = new IntObjectHashMap<>();
-      this.indexOptions = new HashMap<>();
-      this.docValuesType = new HashMap<>();
-      this.dimensions = new HashMap<>();
-      this.vectorProps = new HashMap<>();
       this.omitNorms = new HashMap<>();
+      this.fieldProperties = new HashMap<>();

Review Comment:
   I added those attributes to FieldProperties. I introduced a 
`IndexOptionsProperties` record to capture omitNorms and  storeTermVectors.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to