Type
magento2-module
Smile Elasticsuite - Retailer Search Module for Smile Elasticsuite.
magento2-module
OSL-3.0
None
None
None
None
None
This module is a plugin for ElasticSuite.
It allows to index retailers into the search engine and display them into the autocomplete results, and also on the search result page.
The module requires :
composer require smile/module-retailer-elasticsuite-search
bin/magento module:enable Smile_ElasticsuiteRetailer
bin/magento setup:upgrade
bin/magento index:reindex elasticsuite_seller_fulltext
Stores > Configuration > Elasticsuite > Retailer search settings > Settings * Max result : Maximum number of results to display in result block. * Enabled suggest bloc on result page : Yes/No
Stores > Configuration > Elasticsuite > Retailer search settings > Fields indexed * Index street : Yes/No * Index postcode : Yes/No * Index latitude : Yes/No * Index longitude : Yes/No * Index description : Yes/No
Stores > Configuration > Elasticsuite > Autocomplete > Retailer Autocomplete * Max size : Maximum number of retailers to display in autocomplete results.
Field | Type | Choice to index |
---|---|---|
retailer_id | Integer | No |
street | String | Yes |
postcode | String | Yes |
latitude | String | Yes |
longitude | String | Yes |
name | String | No |
is_active | Boolean | No |
description | Text | Yes |
Index example :
{
"_index": "magento2_default_retailer_20181015_124322",
"_type": "retailer",
"_id": "1",
"_score": 1,
"_source": {
"retailer_id": "1",
"street": " 7 Boulevard Louis XIV",
"postcode": "59800",
"latitude": "50.629113",
"longitude": "3.071649",
"name": "Smile Lille",
"is_active": "1",
"description": "shop de Lille"
}
}