mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-20 02:59:13 +08:00
Fix: empty query issue. (#5830)
### What problem does this PR solve? #5214 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
fa817a8ab3
commit
15736c57c3
@ -66,7 +66,7 @@ class FulltextQueryer:
|
||||
otxt = txt
|
||||
for r, p in patts:
|
||||
txt = re.sub(r, p, txt, flags=re.IGNORECASE)
|
||||
if not otxt:
|
||||
if not txt:
|
||||
txt = otxt
|
||||
return txt
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user