Replies: 3 comments
-
There is error in infinity DB's log: [15:29:23.997] [343] [info] WalManager::Checkpoint delete wal file: /var/infinity/wal/wal.log.653 |
Beta Was this translation helpful? Give feedback.
-
Can you paste the query here? |
Beta Was this translation helpful? Give feedback.
-
It might be caused by the inconsistency query syntax generated by RAGFlow. After this PR is merged into Infinity, it should be resolved. |
Beta Was this translation helpful? Give feedback.
-
The version is v0.14.0
Traceback (most recent call last):
File "/ragflow/api/apps/conversation_app.py", line 181, in stream
for ans in chat(dia, msg, True, **req):
File "/ragflow/api/db/services/dialog_service.py", line 218, in chat
kbinfos = retr.retrieval(" ".join(questions), embd_mdl, tenant_ids, dialog.kb_ids, 1, dialog.top_n,
File "/ragflow/rag/nlp/search.py", line 304, in retrieval
sres = self.search(req, [index_name(tid) for tid in tenant_ids], kb_ids, embd_mdl, highlight)
File "/ragflow/rag/nlp/search.py", line 102, in search
res = self.dataStore.search(src, highlightFields, filters, matchExprs, orderBy, offset, limit, idx_names, kb_ids)
File "/ragflow/rag/utils/infinity_conn.py", line 300, in search
kb_res = builder.to_pl()
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/table.py", line 414, in to_pl
return self.query_builder.to_pl()
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/query_builder.py", line 462, in to_pl
return pl.from_pandas(self.to_df())
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/query_builder.py", line 455, in to_df
data_dict, data_type_dict = self.to_result()
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/query_builder.py", line 451, in to_result
return self._table._execute_query(query)
File "/ragflow/.venv/lib/python3.10/site-packages/infinity/remote_thrift/table.py", line 459, in _execute_query
raise InfinityException(res.error_code, res.error_msg)
infinity.common.InfinityException: (3013, 'Invalid query statement: OrQueryNode should not have both not child and non-not child@src/storage/invertedindex/search/query_node.cpp:385')
Beta Was this translation helpful? Give feedback.
All reactions