mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +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:
@ -66,7 +66,7 @@ class FulltextQueryer:
|
|||||||
otxt = txt
|
otxt = txt
|
||||||
for r, p in patts:
|
for r, p in patts:
|
||||||
txt = re.sub(r, p, txt, flags=re.IGNORECASE)
|
txt = re.sub(r, p, txt, flags=re.IGNORECASE)
|
||||||
if not otxt:
|
if not txt:
|
||||||
txt = otxt
|
txt = otxt
|
||||||
return txt
|
return txt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user