cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Quick Search

Problems with Quick Search

I'm not sure if anyone here has experienced this issue with the search, Our sku numbers use a "-" which I understand splits up the query. For example a vented screw has a sku number

J30-764-24008, when I search this part every single part with the prefix J30 is returned. I have been told switching 

 

<query xsi:type="boolQuery" name="quick_search_container" boost="1">
<queryReference clause="should" ref="search" />
<queryReference clause="must" ref="category"/>
<queryReference clause="must" ref="price"/>
<queryReference clause="must" ref="visibility"/>
</query>

 

to 

<query xsi:type="boolQuery" name="quick_search_container" boost="1">
<queryReference clause="must" ref="search" />
<queryReference clause="must" ref="category"/>
<queryReference clause="must" ref="price"/>
<queryReference clause="must" ref="visibility"/>
</query>

would alleviate this issue however with this configuration no products are returned for this product grouping. 

 

In another grouping where we have only one "-"  for example part number  2BA-097755, switching to this configuration produced the desired result only returning the 1 product.

 

While another grouping with the part number 31-6605 now shows no products after returning the desired 1 product. 

Has anyone had any issues with the quick search? I don't even no where to begin with this. Magento 2 has been bug after bug after bug and it gets very frustrating.