<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">  
    <type name="Magento\Elasticsearch7\SearchAdapter\Adapter">
        <plugin name="mstSearchElasticsearchAdapterPlugin" type="Mirasvit\SearchElastic\Plugin\Frontend\ElasticsearchDebugLoggerAdapterPlugin"/>
    </type>

    <type name="Magento\Elasticsearch\Elasticsearch5\SearchAdapter\Mapper">
        <plugin name="mstSearchElasticsearchAddScriptToSearchQuery"
			type="Mirasvit\SearchElastic\Plugin\Frontend\ElasticsearchAddScriptToSearchQueryPlugin"/>
    </type>
</config>
