Magento2: Mirasvit SearchAutocomplete not working with Elasticsearch search engine
-
13-04-2021 - |
Pergunta
I am facing an issue with Mirasvit SearchAutocomplete Module.
It's working properly with mysql search engine. And it stops working with the Elasticsearch6+ search engine.
Facing this error: Sorry, something went wrong. You can find out more in the error log
in ajax response.
I have debug the code, it seems collection not working properly after activating the Elasticsearch search engine.
Have you guys faced such kind of issue?
Nenhuma solução correta
Outras dicas
You need to assign Search Engine to Elasticsearch Engine which is compatible with ES 6.
[Update]
Open vendor/mirasvit/module-search/src/Search/etc/di.xml and check the ES engine.
<type name="Magento\Search\Model\Adminhtml\System\Config\Source\Engine">
<arguments>
<argument name="engines" xsi:type="array">
<item name="mysql" xsi:type="string">Magento Native MySQL Engine</item>
<item name="elasticsearch" xsi:type="string">Magento Native Elasticsearch 2+</item>
<item name="elasticsearch5" xsi:type="string">Magento Native Elasticsearch 5+</item>
<item name="elasticsearch6" xsi:type="string">Magento Native Elasticsearch 6+</item>
</argument>
</arguments>
</type>
elasticsearch is for Mirasvit
Licenciado em: CC-BY-SA com atribuição
Não afiliado a magento.stackexchange