leng25 commented on code in PR #15790:
URL: https://github.com/apache/lucene/pull/15790#discussion_r2902709621
##########
lucene/core/src/java/org/apache/lucene/codecs/lucene99/Lucene99HnswVectorsReader.java:
##########
@@ -560,16 +560,18 @@ public void seek(int level, int targetOrd) throws
IOException {
dataIn.seek(graphLevelNodeOffsets.get(targetIndex +
graphLevelNodeIndexOffsets[level]));
arcCount = dataIn.readVInt();
assert arcCount <= currentNeighborsBuffer.length : "too many neighbors:
" + arcCount;
+ int sum = 0;
Review Comment:
Done, move inside the if block
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]