I have table with a column 'on_phonetic' where phonetic keys for geographical coordinates stored. Value examples are: 'KF' (for Kiev), 'ASKRK, 'KNX SSP', etc
There is a fulltext index placed on this column. Query which I am launching:
SELECT * FROM osm_nodes
WHERE MATCH(`on_phonetic`) AGAINST ('LSF');
it works ok for values with length greater than 2. but fails for values with length <= 2 so, this one will return nothing
SELECT * FROM osm_nodes
WHERE MATCH(`on_phonetic`) AGAINST ('KF');
however this query (not full-text) below returns tree records
SELECT * FROM osm_nodes
WHERE on_phonetic = 'KF';
I made following updates in my.ini - file
ft_min_word_len=2
ft_stopword_file = ""
restarted server (ensured that my changes appeared in 'variables' section), rebuild indexes, even recreated table - nothing help. Any ideas ?
MySql version is 5.6.23-log, OS is Win7, x86_64
Thanks.