修复es 知识库查询bug (#2848)

This commit is contained in:
fengyaojie 2024-02-03 18:01:54 +08:00
parent 36956520ea
commit 9c5aa5bf2f

View File

@ -221,6 +221,9 @@ class ESKBService(KBService):
"query": { "query": {
"term": { "term": {
"metadata.source.keyword": file_path "metadata.source.keyword": file_path
},
"term": {
"_index": self.index_name
} }
} }
} }