The article is believed to be useful for PHP developers who are mastering Magento 2 components. You will learn dependency inversion principle, functions of object manager and dependencies compiling. In case you have some questions, feel free to ask our certified developers for help. (more…)
Integration with the SORL search engine is available in the Enterprise Magento Edition out of the box.
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.
After SOLR indexed data research we found out that there are two “has_artificial_ingredients” attribute values for the same product.
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.
The solution is to synchronize such attribute values for configurable and simple products.