Skip to content

Commit

Permalink
reverted unneeded change
Browse files Browse the repository at this point in the history
  • Loading branch information
tteofili committed Feb 25, 2025
1 parent eef4f97 commit acf5866
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,9 @@ private void search(
return;
}
final RandomVectorScorer scorer = scorerSupplier.get();
final Bits acceptedOrds = scorer.getAcceptOrds(acceptDocs);
final KnnCollector collector =
new OrdinalTranslatedKnnCollector(knnCollector, scorer::ordToDoc);
final Bits acceptedOrds = scorer.getAcceptOrds(acceptDocs);
HnswGraph graph = getGraph(fieldEntry);
boolean doHnsw = knnCollector.k() < scorer.maxOrd();
// Take into account if quantized? E.g. some scorer cost?
Expand Down

0 comments on commit acf5866

Please sign in to comment.