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. |
|
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: