I have a table of product names, and full text works great up until using a period, e.g. searching for a 3.7 battery.. i try
select .. where match(name) against ('+3.7v +battery' in boolean mode)
i saw the suggestion to enclose the period in double quotes, i.e. against ('+\"3.7v\"' in boolean mode)
or against ('\"3.7v\"' in boolean mode)
Neither return any results. I looked at the default list of stop words (https://dev.mysql.com/doc/refman/5.1/en/fulltext-stopwords.html) and don't see period specified.
I looked at http://dev.mysql.com/doc/refman/5.6/en/fulltext-fine-tuning.html and saw ft_min_word_len is 3, which this should fit under..
Does anybody have any suggestions?
Edit: /dev.mysql.com/doc/refman/5.6/en/fulltext-natural-language.html says The FULLTEXT parser determines where words start and end by looking for certain delimiter characters; for example, “ ” (space), “,” (comma), and “.” (period).
I guess these delimiter characters are different from the list of stop words. Is there any way to configure these without modifying the source code? Unfortunately I am using InnoDB which full-text functionality was only recently added for, and full-text parser plug-ins can only be created for MyISAM tables in 5.6