fix: opensearch metadata filtering returns empty (#20672)

pull/20701/head
wenjun.gu 12 months ago
parent 7094680e23
commit a3760beedb

@ -255,7 +255,8 @@ class OpenSearchVector(BaseVector):
Field.METADATA_KEY.value: { Field.METADATA_KEY.value: {
"type": "object", "type": "object",
"properties": { "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