Hi, the project I'm working on has for each column that needs to be searched a second column called "ft[columnname]" which has a FULLTEXT index and only this one is searched against.
This column contains an "optimized" text, that is automatically generated from the original column in the following way:
- The string is lowercased
- All accents are removed
- All punctuations and unsearchable characters are removed
- All duplicated words are removed
- All words are sorted from the longest to the shortest
- Other transformations that I don't really understand (related to combined-words)
For example "I like Pokémon, especially Pikachu!" becomes "especially pokemon pikachu like i".
Is there any (even a very tiny one) performance benefit? The data in the database never dynamically changes.