How to tweak Magento 2 for two letter search in fulltext mode
The problem: Magento 2 wont return any search results if the search token is 2 letters in length. Solution: Alter MySQL conf file. Edit my.cnf file on your server In CentOS, use command nano /etc/my.cnf and add the following lines: ft_min_word_len=2 innodb_ft_min_token_size=2 Save using CTRL+x and then restart mysqld service. Now we need to regenerate the index in order to get updated search results. Use the following SQL commands to regenerate: ...