mayya-sharipova commented on code in PR #992:
URL: https://github.com/apache/lucene/pull/992#discussion_r924635739


##########
lucene/backward-codecs/src/test/org/apache/lucene/backward_codecs/lucene91/Lucene91HnswVectorsWriter.java:
##########
@@ -149,6 +146,7 @@ public void writeField(FieldInfo fieldInfo, 
KnnVectorsReader knnVectorsReader)
       long vectorIndexLength = vectorIndex.getFilePointer() - 
vectorIndexOffset;
       writeMeta(
           fieldInfo,
+          maxDoc >= 0 ? maxDoc : segmentWriteState.segmentInfo.maxDoc(),

Review Comment:
   Looks like you resolved this in abf7c67157839cb7ccc4d91f038405d8f08b3b99



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