mirror of https://github.com/langgenius/dify.git
fix: opensearch metadata filtering returns empty (#20701)
Co-authored-by: wenjun.gu <wenjun.gu@envision-energy.com> Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
parent
4f14d7c0ca
commit
4271602cfc
|
|
@ -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…
Reference in New Issue