Pregunta

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?

No hay solución correcta

Otros consejos

You need to assign Search Engine to Elasticsearch Engine which is compatible with ES 6. enter image description here

[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 bajo: CC-BY-SA con atribución
No afiliado a magento.stackexchange
scroll top