mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 17:09:03 +08:00
chore: skip deprecated field_schema param in creating payload index on Qdrant (#3903)
This commit is contained in:
parent
704755d005
commit
142814d451
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user