mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix too long query exception. (#4729)
### What problem does this PR solve? ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -185,7 +185,7 @@ class FulltextQueryer:
|
||||
for s in syns
|
||||
]
|
||||
)
|
||||
if syns:
|
||||
if syns and tms:
|
||||
tms = f"({tms})^5 OR ({syns})^0.7"
|
||||
|
||||
qs.append(tms)
|
||||
|
||||
Reference in New Issue
Block a user