mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-02-01 08:05:07 +08:00
Remove filter (kb_id) in infinity (#12853)
Secondary indexes in infinity do not support **IN** expr --------- Signed-off-by: zpf121 <1219290549@qq.com>
This commit is contained in:
@ -147,6 +147,9 @@ class InfinityConnection(InfinityConnectionBase):
|
|||||||
filter_cond = None
|
filter_cond = None
|
||||||
filter_fulltext = ""
|
filter_fulltext = ""
|
||||||
if condition:
|
if condition:
|
||||||
|
# Remove kb_id filter for Infinity (it uses table separation instead)
|
||||||
|
condition = {k: v for k, v in condition.items() if k != "kb_id"}
|
||||||
|
|
||||||
table_found = False
|
table_found = False
|
||||||
for indexName in index_names:
|
for indexName in index_names:
|
||||||
if indexName.startswith("ragflow_doc_meta_"):
|
if indexName.startswith("ragflow_doc_meta_"):
|
||||||
|
|||||||
Reference in New Issue
Block a user