We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b89c9a6 commit de8463eCopy full SHA for de8463e
api/core/rag/datasource/vdb/elasticsearch/elasticsearch_vector.py
@@ -197,10 +197,9 @@ def create_collection(
197
"type": "object",
198
"properties": {
199
"doc_id": {"type": "keyword"}, # Map doc_id to keyword type
200
- "document_id": {"type": "keyword"} # Map doc_id to keyword type
+ "document_id": {"type": "keyword"}, # Map doc_id to keyword type
201
},
202
203
-
204
}
205
206
self._client.indices.create(index=self._collection_name, mappings=mappings)
0 commit comments