mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-01-30 23:26:36 +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_fulltext = ""
|
||||
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
|
||||
for indexName in index_names:
|
||||
if indexName.startswith("ragflow_doc_meta_"):
|
||||
|
||||
Reference in New Issue
Block a user