Using Magento 2.1.10
The search part of Magento 2 seems quite buggy. I have a product titled "abc with xyz"
.
- When I search
"abc"
, the product gets displayed but its pushed in between the collection, with several items appearing before it, which does not even have"abc"
in their names. I researched and adjusted the search weights and i still get the same result, no effect at all. - When I search "abc lights", the result is similar to point 1
- When I search "with", I do not see the product listed. Other products which are irrelevant gets displayed
How can i search the products by NAME only. I have tried disabling the searchable for all the other Attributes. in this case when i search "with", I get no result at all.
I have already tried changing the query clause to "must"
instead of "should"
, but it still does not work
If possible, can someone please let me know where can I find the query in the code for it.