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


##########
lucene/core/src/java/org/apache/lucene/index/FieldInfo.java:
##########
@@ -289,6 +302,24 @@ static void verifySameDocValuesType(
     }
   }
 
+  /**
+   * Verify that the provided docValues type are the same
+   *
+   * @throws IllegalArgumentException if they are not the same
+   */
+  static void verifySameDocValuesSkipIndex(

Review Comment:
   Added support on 
https://github.com/apache/lucene/pull/13449/commits/73813646f0b7a46aa5d2bf8b6a0b4e0a1ab1a8e8



##########
lucene/core/src/java/org/apache/lucene/codecs/lucene90/Lucene90DocValuesConsumer.java:
##########
@@ -129,16 +131,17 @@ public void addNumericField(FieldInfo field, 
DocValuesProducer valuesProducer)
       throws IOException {
     meta.writeInt(field.number);
     meta.writeByte(Lucene90DocValuesFormat.NUMERIC);
-
-    writeValues(
-        field,
+    DocValuesProducer producer =
         new EmptyDocValuesProducer() {
           @Override
           public SortedNumericDocValues getSortedNumeric(FieldInfo field) 
throws IOException {
             return DocValues.singleton(valuesProducer.getNumeric(field));
           }
-        },
-        false);
+        };
+    if (field.hasDocValuesSkipIndex()) {
+      writeSkipIndex(field, producer);

Review Comment:
   Added inital aupport on 
https://github.com/apache/lucene/pull/13449/commits/e782feffc4bd35be3207df0dd46d5dbd7998301c



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