chore: skip deprecated field_schema param in creating payload index on Qdrant (#3903)

This commit is contained in:
Bowen Liang 2024-04-30 16:16:10 +08:00 committed by GitHub
parent 704755d005
commit 142814d451
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,8 +117,7 @@ class QdrantVector(BaseVector):
# create payload index
self._client.create_payload_index(collection_name, Field.GROUP_KEY.value,
field_schema=PayloadSchemaType.KEYWORD,
field_type=PayloadSchemaType.KEYWORD)
field_schema=PayloadSchemaType.KEYWORD)
# creat full text index
text_index_params = TextIndexParams(
type=TextIndexType.TEXT,