From 0d476970f4502655879a2e75355bcd7985ec00a9 Mon Sep 17 00:00:00 2001 From: Patrick Ge <53650488+cococo2000@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:45:18 +0800 Subject: [PATCH] Update runner.py: fix batch query missing filter exprs --- bigvectorbench/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigvectorbench/runner.py b/bigvectorbench/runner.py index 765ce6d..65b428a 100644 --- a/bigvectorbench/runner.py +++ b/bigvectorbench/runner.py @@ -135,7 +135,7 @@ def batch_query( exprs = [filter_expr(*labels) for labels in X_labels] # TODO: consider using a dataclass to represent return value. if prepared_queries: - algo.prepare_batch_query(X, count) + algo.prepare_batch_query(X, count, exprs) start = time.time() algo.run_prepared_batch_query() total = time.time() - start