Skip to content

Commit 7b52dae

Browse files
committed
start weaviate
1 parent 5faa4cb commit 7b52dae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

engine/clients/weaviate/search.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ def search_one(cls, vector, meta_conditions, top) -> List[Tuple[int, float]]:
3232
.with_limit(top)
3333
.do()
3434
)
35-
res = cls.client.search(
36-
collection_name=QDRANT_COLLECTION_NAME,
37-
query_vector=vector,
38-
query_filter=cls.conditions_to_filter(meta_conditions),
39-
limit=top,
40-
**cls.search_params
41-
)
35+
# res = cls.client.search(
36+
# collection_name=QDRANT_COLLECTION_NAME,
37+
# query_vector=vector,
38+
# query_filter=cls.conditions_to_filter(meta_conditions),
39+
# limit=top,
40+
# **cls.search_params
41+
# )
4242

4343
return [(hit.id, hit.score) for hit in res]

0 commit comments

Comments
 (0)