add vdb document id index (#16244)
Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
cade0f65e2
commit
d135677c25
5 changed files with 23 additions and 23 deletions
|
|
@ -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
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue