Skip to content

Commit 80f7f5f

Browse files
committed
a simple test with starting the doc_id counter higher
1 parent c53bfdb commit 80f7f5f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

engine/base_client/search.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121

2222
class BaseSearcher:
23-
_doc_id_counter = itertools.count(1)
23+
_doc_id_counter = itertools.count(1000000)
2424
MP_CONTEXT = None
2525

2626
def __init__(self, host, connection_params, search_params):
@@ -86,8 +86,6 @@ def search_all(
8686
num_queries: int = -1,
8787
insert_fraction: float = 0.0,
8888
):
89-
print(f"In base_client/search_all. insert_fraction {insert_fraction}")
90-
9189
parallel = self.search_params.get("parallel", 1)
9290
top = self.search_params.get("top", None)
9391
single_search_params = self.search_params.get("search_params", None)

0 commit comments

Comments
 (0)