LuXugang commented on code in PR #792:
URL: https://github.com/apache/lucene/pull/792#discussion_r865561221
##########
lucene/core/src/java/org/apache/lucene/codecs/lucene91/Lucene91HnswVectorsReader.java:
##########
@@ -320,13 +323,19 @@ private static class FieldEntry {
final int numLevels;
final int dimension;
private final int size;
- final int[] ordToDoc;
- private final IntUnaryOperator ordToDocOperator;
final int[][] nodesByLevel;
// for each level the start offsets in vectorIndex file from where to read
neighbours
final long[] graphOffsetsByLevel;
-
- FieldEntry(DataInput input, VectorSimilarityFunction similarityFunction)
throws IOException {
+ final long docsWithFieldOffset;
Review Comment:
addressed in
https://github.com/apache/lucene/pull/792/commits/16c83748a3cde23bfa8c72d7c7bc48594cd223a7
.
--
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]