fix: avoid returning unused vectors in TiDB on Qdrant search (#39744)

This commit is contained in:
非法操作 2026-07-29 14:51:18 +08:00 committed by GitHub
parent 14a938c5c5
commit 0d6b2fc40c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -356,7 +356,7 @@ class TidbOnQdrantVector(BaseVector):
query_filter=filter,
limit=kwargs.get("top_k", 4),
with_payload=True,
with_vectors=True,
with_vectors=False,
score_threshold=kwargs.get("score_threshold", 0.0),
)
docs = []