PG to_tsquery Exception:syntax error in tsquery: "What's your password policies?" #8920
Closed
5 tasks done
Labels
🐞 bug
Something isn't working
Self Checks
Dify version
0.8.3
Cloud or Self Hosted
Self Hosted (Source)
Steps to reproduce
In hybrid search, when you do a full-text search with keywords in PG, if there are special characters in the keywords, such as single quotes, an exception will be thrown: syntax error in tsquery: "What's your password policies?"
✔️ Expected Behavior
Fix this bug.
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: