Home

Awesome

ElasticSuite Retailer Search

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 :

How to use

  1. Install the module via Composer :

composer require smile/module-retailer-elasticsuite-search

  1. Enable it

bin/magento module:enable Smile_ElasticsuiteRetailer

  1. Install the module and rebuild the DI cache

bin/magento setup:upgrade

  1. 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

Stores > Configuration > Elasticsuite > Retailer search settings > Fields indexed

Stores > Configuration > Elasticsuite > Autocomplete > Retailer Autocomplete

Fields indexed

FieldTypeChoice to index
retailer_idIntegerNo
streetStringYes
postcodeStringYes
latitudeStringYes
longitudeStringYes
nameStringNo
is_activeBooleanNo
descriptionTextYes

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"
   }
 }