src/module-elasticsuite-catalog/etc/elasticsuite_search_request.xml
<?xml version="1.0"?>
<!--
/**
* Smile_ElasticsuiteCatalog search requests configuration.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
* versions in the future.
*
* @category Smile
* @package Smile\ElasticsuiteCatalog
* @author Aurelien FOUCRET <aurelien.foucret@smile.fr>
* @copyright 2020 Smile
* @license Open Software License ("OSL") v. 3.0
*/
-->
<requests xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Smile_ElasticsuiteCore:etc/elasticsuite_search_request.xsd">
<request name="quick_search_container" label="Catalog Product Search" index="catalog_product" track_total_hits="true" fulltext="true">
<filters>
<filter name="stockFilter">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\Stock</filter>
<filter name="visibleInSearch">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\VisibleInSearch</filter>
<filter name="blacklistedProducts">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\SearchBlacklist</filter>
</filters>
<aggregations>
<provider name="filterableAttributesProvider">searchFilterableAttributesProvider</provider>
<aggregation xsi:type="termBucket" name="attribute_set_id" field="attribute_set_id"/>
<aggregation xsi:type="termBucket" name="indexed_attributes" field="indexed_attributes"/>
</aggregations>
</request>
<request name="catalog_product_autocomplete" label="Catalog Product Autocomplete" index="catalog_product" track_total_hits="0" fulltext="true">
<filters>
<filter name="stockFilter">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\Stock</filter>
<filter name="visibleInSearch">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\VisibleInSearch</filter>
<filter name="blacklistedProducts">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\SearchBlacklist</filter>
</filters>
<aggregations>
<provider name="autocompleteAttributesProvider">autocompleteFilterableAttributesProvider</provider>
</aggregations>
</request>
<request name="catalog_view_container" label="Category Product View" index="catalog_product" track_total_hits="true" fulltext="false">
<filters>
<filter name="stockFilter">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\Stock</filter>
<filter name="visibleInCatalog">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\VisibleInCatalog</filter>
<filter name="currentCategory">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\CurrentCategory</filter>
</filters>
<aggregations>
<provider name="filterableAttributesProvider">categoryFilterableAttributesProvider</provider>
<aggregation xsi:type="termBucket" name="attribute_set_id" field="attribute_set_id"/>
<aggregation xsi:type="termBucket" name="indexed_attributes" field="indexed_attributes"/>
</aggregations>
</request>
<request name="category_search_container" label="Catalog Category Search" index="catalog_category" fulltext="true"/>
<request name="catalog_product_widget" label="Catalog Product Widget" index="catalog_product" track_total_hits="true" fulltext="false">
<filters>
<filter name="stockFilter">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\Stock</filter>
<filter name="visibleInCatalog">Smile\ElasticsuiteCatalog\Model\Product\Search\Request\Container\Filter\VisibleInCatalog</filter>
</filters>
<aggregations>
<aggregation xsi:type="termBucket" name="attribute_set_id" field="attribute_set_id"/>
<aggregation xsi:type="termBucket" name="indexed_attributes" field="indexed_attributes"/>
</aggregations>
</request>
</requests>