cpoerschke commented on code in PR #13635:
URL: https://github.com/apache/lucene/pull/13635#discussion_r1754517493
##########
lucene/core/src/java/org/apache/lucene/search/AbstractKnnVectorQuery.java:
##########
@@ -491,4 +594,44 @@ public int hashCode() {
classHash(), contextIdentity, Arrays.hashCode(docs),
Arrays.hashCode(scores));
}
}
+
+ private class TopDocsDISI extends DocIdSetIterator {
+ int idx = -1;
+ List<Integer> sortedDocIdList;
Review Comment:
```suggestion
private static class TopDocsDISI extends DocIdSetIterator {
private final List<Integer> sortedDocIdList;
private int idx = -1;
```
--
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]