Skip to content

Commit

Permalink
Add leniency to filtered KNN search. (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpountz authored Nov 13, 2024
1 parent cd2e383 commit 66e007b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/benchUtil.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ class SearchTask:
isCountOnly = False

def verifySame(self, other, verifyScores, verifyCounts):
if re.match('^Knn(Float|Byte)VectorQuery:', self.query) is not None:
if re.match('.*Knn(Float|Byte)VectorQuery:', self.query) is not None:
# While KNN search is statically randomized (seed 42?), the concurrent HNSW merge alters the order of results
return
if not isinstance(other, SearchTask):
Expand Down

0 comments on commit 66e007b

Please sign in to comment.