Currently, my db ignores words such as what, all. How can I stop db from ignoring these kinds of words, abbs etc.?
If you need to look at my sql command:
SELECT *, MATCH(title,body) AGAINST('*what*' IN BOOLEAN MODE) AS sort
FROM articles WHERE MATCH(title,body) AGAINST('*what*' IN BOOLEAN MODE) ORDER BY sort DESC LIMIT 20;
whatis included within the stopwords.Take a look at MySQL 5.5 stopwords
You can change the
ft_stopword_filesystem variable and load a different set of stopwords (or just excludewhat), see MySQL 5.5 finetuningin 5.6 it’s even possible to change the stopwords on a per-table basis (InnoDB only though). MySQL 5.6 stopwords