OK months later when I have actually used full text, I can safely say you use full text when searching through unstructured text, and SQL LIKE for everything else!
Rails full text search appropriateness for "standard" queries
-
01-06-2022 - |
문제
Gems such as Ransack make it easy to search models, but obviously do not work so well for full text fields such as descriptions or comments, so I have been thinking of using pg_search for all my searching (don't want to mix and match search solutions if possible) against any text field (names, descriptions, comments etc) and always doing full text searches as I can then search against any text field and get better results. Are there any problems with using full text search in such a manner?
해결책
제휴하지 않습니다 StackOverflow