fix: opensearch metadata filtering returns empty (#20701)

Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com>
Co-authored-by: crazywoola <427733928@qq.com>
pull/20715/head
jefferyvvv 10 months ago committed by GitHub
parent 4f14d7c0ca
commit 4271602cfc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -255,7 +255,8 @@ class OpenSearchVector(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"},
},
},
}

Loading…
Cancel
Save