-
-
Notifications
You must be signed in to change notification settings - Fork 894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Easier full-text search possibility #4505
Conversation
Contributes to FreshRSS#1331 Avoid concats in searches to make text indexes easier to build
Quick example of SELECT LIKE performance gain:
|
From my quick tests, an index on a concatenation of |
For now it is only documented and the desired indexes must be created manually. |
Documentation deployed: https://freshrss.github.io/FreshRSS/en/admins/DatabaseConfig.html |
Quick test on an |
Out of curiosity, is MySQL more or less as fast already, or is it "recommended" to convert to PostgreSQL to benefit from these optimizations? |
They all support various kinds of indexes but I think trigram indexes are unique to PostgreSQL. (But don't take my word for it; I might be outdated or misremembering.) |
So far, FreshRSS only supports text indexes in PostgreSQL |
P.S. The reason is that PostgreSQL offers (also) indexes that work out-of-the-box with a standard SQL search using |
#fix FreshRSS#4535 Collation regression from FreshRSS#4505
Contributes to #1331
Avoid concats in searches to make text indexes easier to build
#302 (comment)
Manual example with PostgreSQL: