mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-13 05:28:59 +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
|
# create payload index
|
||||||
self._client.create_payload_index(collection_name, Field.GROUP_KEY.value,
|
self._client.create_payload_index(collection_name, Field.GROUP_KEY.value,
|
||||||
field_schema=PayloadSchemaType.KEYWORD,
|
field_schema=PayloadSchemaType.KEYWORD)
|
||||||
field_type=PayloadSchemaType.KEYWORD)
|
|
||||||
# creat full text index
|
# creat full text index
|
||||||
text_index_params = TextIndexParams(
|
text_index_params = TextIndexParams(
|
||||||
type=TextIndexType.TEXT,
|
type=TextIndexType.TEXT,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user