문제

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?

올바른 솔루션이 없습니다

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 magento.stackexchange
scroll top