Magento 2 – Catalog Fulltext Search by Two Letters

magento-2.1magento2

I've added custom product text attribute and marked it "Use In Search".

Also my code configured for searching by two letters.

For example when I'm searching "Tuborg" and typing "tu" autocomplete in search bar show me results.

In my atribute I added short word "øl" which means beer in norwegian.
As you can see whe word contains one letter from extended latin list.

Typing exactly that word in search bar result gives me nothing.
Some experiments shows me that if I write attribute value "øle" instead "øl" and type "øl" in search bar – it gives me result of needed product.

How to make working search by this kind of two words? And why it isn't working?

UPD: As I though the problem might be in norwegian entities, but search doesn't work in general in case when word contain only two letters and search query contain two letters too.

Best Answer

No need to customized core file that's is not good idea, There are following free and paid extensions, Please install and configure as per your requirements, Hope It's helpful for you.It's only work for Magento 1.9.x, Please contact developer they will provide you update version for Magento 2

https://www.magentocommerce.com/magento-connect/search-autocomplete-search-suggest.html

https://www.magentocommerce.com/magento-connect/ajax-search-and-autocomplete-extension-for-magento.html

https://www.magentocommerce.com/magento-connect/search-autocomplete-and-suggest-2.html

Related Topic