mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-05 22:33:24 +08:00
修复es 知识库查询bug (#2848)
This commit is contained in:
parent
36956520ea
commit
9c5aa5bf2f
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user