smile / module-retailer-elasticsuite-search
Smile Elasticsuite - Retailer Search Module for Smile Elasticsuite.
Installs: 30 017
Dependents: 0
Suggesters: 1
Security: 0
Stars: 2
Watchers: 12
Forks: 4
Open Issues: 0
Type:magento2-module
Requires
- magento/framework: *
- magento/magento-composer-installer: *
- magento/module-eav: *
- magento/module-store: *
- smile/elasticsuite: ^2.6.0
- smile/module-retailer: *
- smile/module-store-locator: ~1.3.0 || ~2.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-11-28 00:38:04 UTC
README
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.
Requirements
The module requires :
- ElasticSuite > 2.1.*
- Retailer > 1.2.*
- StoreLocator > 1.3.* || 2.*
How to use
- Install the module via Composer :
composer require smile/module-retailer-elasticsuite-search
- Enable it
bin/magento module:enable Smile_ElasticsuiteRetailer
- Install the module and rebuild the DI cache
bin/magento setup:upgrade
- Process a full reindex of the Retailer search index
bin/magento index:reindex elasticsuite_seller_fulltext
How to configure
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.
Fields indexed
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"
}
}