mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +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…
Reference in New Issue
Block a user