add vdb document id index (#16244)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
Jyong
2025-03-20 01:38:15 +08:00
committed by GitHub
parent cade0f65e2
commit d135677c25
5 changed files with 23 additions and 23 deletions

View File

@@ -196,7 +196,8 @@ class ElasticSearchVector(BaseVector):
Field.METADATA_KEY.value: {
"type": "object",
"properties": {
"doc_id": {"type": "keyword"} # Map doc_id to keyword type
"doc_id": {"type": "keyword"}, # Map doc_id to keyword type
"document_id": {"type": "keyword"}, # Map doc_id to keyword type
},
},
}