Merge branch 'fix/tidb-recreate-collection-issue' into deploy/dev

This commit is contained in:
jyong 2025-03-19 16:31:02 +08:00
commit 1a7ec87e40
2 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ class QdrantVector(BaseVector):
max_indexing_threads=0,
on_disk=False,
)
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name,
vectors_config=vectors_config,
hnsw_config=hnsw_config,

View File

@ -129,7 +129,7 @@ class TidbOnQdrantVector(BaseVector):
max_indexing_threads=0,
on_disk=False,
)
self._client.recreate_collection(
self._client.create_collection(
collection_name=collection_name,
vectors_config=vectors_config,
hnsw_config=hnsw_config,