|
|
|
@ -115,9 +115,12 @@ class QdrantVector(BaseVector):
|
|
|
|
timeout=int(self._client_config.timeout),
|
|
|
|
timeout=int(self._client_config.timeout),
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# create payload index
|
|
|
|
# create group_id 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)
|
|
|
|
|
|
|
|
# create doc_id payload index
|
|
|
|
|
|
|
|
self._client.create_payload_index(collection_name, Field.DOC_ID.value,
|
|
|
|
|
|
|
|
field_schema=PayloadSchemaType.KEYWORD)
|
|
|
|
# creat full text index
|
|
|
|
# creat full text index
|
|
|
|
text_index_params = TextIndexParams(
|
|
|
|
text_index_params = TextIndexParams(
|
|
|
|
type=TextIndexType.TEXT,
|
|
|
|
type=TextIndexType.TEXT,
|
|
|
|
|