magento / community-features

Magento Features Development is an Initiative to Allows Community Memebers Join to Development of Magento Features
46 stars 18 forks source link

Magento 2 Search won't work when symbols are used #307

Open jtalel opened 3 years ago

jtalel commented 3 years ago

Description (*)

We sell automotive tires. Most of this products name come with symbols: -7.50R16 -11.00R20 -185/60R14 When We try to search by products name most of the time results are inaccurate or no results are shown.

It seems to me when you search usign symbols magento reads them as a separation. The thing is with some sizes like 7.50 or 11.00 it will attempt to search EITHER 7 OR 50 .... 11 OR 00 and by default Magento comes with minimum search 3 characters. Even when We modify this to 2 or 1 character it won't work as expected (inaccurate results).

Expected behavior (*)

It should interpret symbols as text so When you search something like 7.50 it should find products where a dot is in the name like if it where a word.

Benefits

Better search results.

Additional information

This issue is happening to me in Magento 2.2.8, PHP7.1 and MySql 5.7.

m2-assistant[bot] commented 3 years ago

Hi @jtalel. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.

Please, add a comment to assign the issue: @magento I am working on this