+ 1
SQL full text search
Why does not this query return any values?: SELECT * FROM `ready_tasks` WHERE MATCH (`condition`) AGAINST ('12'); I have table with `condition` and there is text `ŠŠ°Š¹ŃŠø Š²ŠµŃŠ¾ŃŃŠ½Š¾ŃŃŃ ŃŠ¾Š³Š¾, ŃŃŠ¾ Гни ŃŠ¾Š¶Š“ŠµŠ½ŠøŃ 12 ŃŠµŠ»Š¾Š²Šµ...` `condition` has index with `fulltext`, database has MyISAM
1 Answer
+ 2
According to this reference, a word having less than 4 characters in length is not indexed, and as such, will be excluded from search results. See "Excluded Results" section.
https://mariadb.com/kb/en/library/full-text-index-overview/
I know this is MariaDB reference, but MySQL & MariaDB shares the same codebase, thus I believe they too share similar behaviour.
Hth, cmiiw