mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-10 07:49:03 +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:
parent
54803c4ef2
commit
6f2c3a3c3c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user