Your IP : 216.73.216.97


Current Path : /var/www/clients/client3/web2/web/vendor/magento/module-advanced-search/etc/
Upload File :
Current File : /var/www/clients/client3/web2/web/vendor/magento/module-advanced-search/etc/di.xml

<?xml version="1.0"?><!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
    <preference for="Magento\AdvancedSearch\Model\Client\ClientFactoryInterface" type="Magento\AdvancedSearch\Model\Client\ClientFactory" />
    <type name="Magento\AdvancedSearch\Block\Recommendations">
        <arguments>
            <argument name="searchDataProvider" xsi:type="object">Magento\AdvancedSearch\Model\Recommendations\DataProvider</argument>
            <argument name="title" xsi:type="string" translatable="true">Related search terms</argument>
        </arguments>
    </type>
    <type name="Magento\AdvancedSearch\Block\Suggestions">
        <arguments>
            <argument name="searchDataProvider" xsi:type="object">Magento\AdvancedSearch\Model\SuggestedQueries</argument>
            <argument name="title" xsi:type="string" translatable="true">Did you mean</argument>
        </arguments>
    </type>
    <type name="Magento\AdvancedSearch\Model\Client\ClientResolver">
        <arguments>
            <argument name="path" xsi:type="const">Magento\CatalogSearch\Model\ResourceModel\EngineInterface::CONFIG_ENGINE_PATH</argument>
            <argument name="scopeType" xsi:type="const">\Magento\Store\Model\ScopeInterface::SCOPE_STORE</argument>
        </arguments>
    </type>
    <type name="Magento\AdvancedSearch\Model\SuggestedQueries">
        <arguments>
            <argument name="data" xsi:type="array">
                <item name="mysql" xsi:type="string">Magento\AdvancedSearch\Model\DataProvider\Suggestions</item>
            </argument>
        </arguments>
    </type>
    <type name="Magento\AdvancedSearch\Model\ResourceModel\Index">
        <arguments>
            <argument name="tableResolver" xsi:type="object">
                Magento\Catalog\Model\Indexer\Product\Price\PriceTableResolver
            </argument>
        </arguments>
    </type>
    <preference for="Magento\AdvancedSearch\Model\Adapter\DataMapper\AdditionalFieldsProviderInterface" type="Magento\AdvancedSearch\Model\Adapter\DataMapper\AdditionalFieldsProvider" />
</config>