Hidden Pitfalls of SOLR Search in Magento Enterprise

August 5, 2016 Aleksei Grigorenko Magento
Hidden Pitfalls of SOLR Search in Magento Enterprise

Integration with the SORL search engine is available in the Enterprise Magento Edition out of the box.

Hidden Pitfalls of SOLR Search in Magento Enterprise

We’ve faced with the problem, while using this service. Different search queries returned the same result, ex.: filtering by the “yes/no” attribute (has_artificial_ingredients in our case) returned same product for  “yes” and “no” values as well.

Hidden Pitfalls of SOLR Search in Magento Enterprise

After SOLR indexed data research we found out that there are two “has_artificial_ingredients”  attribute values for the same product.

Hidden Pitfalls of SOLR Search in Magento Enterprise

The problem was in the search indexation method.

Index for configurable product in SOLR includes simple products value, included in it. Therefore in case configurable product has “Yes” value of attribute and its associated products have “No”- configurable product will be displayed for both search criteria.

Hidden Pitfalls of SOLR Search in Magento Enterprise

The solution is to synchronize such attribute values for configurable and simple products.



Post a new comment

top
BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *