mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 23:49:07 +08:00
chore: update qdrant_vector.py (#5128)
This commit is contained in:
parent
adc948e87c
commit
a40f68cf94
@ -128,7 +128,7 @@ class QdrantVector(BaseVector):
|
|||||||
# create doc_id payload index
|
# create doc_id payload index
|
||||||
self._client.create_payload_index(collection_name, Field.DOC_ID.value,
|
self._client.create_payload_index(collection_name, Field.DOC_ID.value,
|
||||||
field_schema=PayloadSchemaType.KEYWORD)
|
field_schema=PayloadSchemaType.KEYWORD)
|
||||||
# creat full text index
|
# create full text index
|
||||||
text_index_params = TextIndexParams(
|
text_index_params = TextIndexParams(
|
||||||
type=TextIndexType.TEXT,
|
type=TextIndexType.TEXT,
|
||||||
tokenizer=TokenizerType.MULTILINGUAL,
|
tokenizer=TokenizerType.MULTILINGUAL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user