SearchOptimizers - romainruaud/elasticsuite GitHub Wiki

Search Optimizers Administration

It can be accessed under the Smile ElasticSuite menu, via the Optimizers entry.

You can create, update and delete your search optimizers here.

Creating an Optimizer

In this page you have a grid displaying all your optimizers. You can add a new one by clicking on the Add New Optimizer button.

You will then be prompted to the optimizer create form containing the following fields :

General fieldset

General Fieldset

Parameter Default value Description
Enable optimizer Yes If the optimizer should be enable or not.
Store View 1 The store view for this optimizer.
Model 1 The model to use for scoring. Actually only Constant model can be chosen. Additional models will come in future versions.
Optimizer Name 1 The name of the optimizer.
Active From 1 Start date of the optimizer. Use it for temporary events.
Active To 1 End date of the optimizer.
Request Type 1 The request to apply the optimizer :
- Category Product View : the catalog navigation.
- Catalog Product Search : the catalog search results.
- Advanced Product Search : the advanced search results.

Note : An optimizer can only be assigned to one store view. We plan to add a Duplicate button in future versions.

Configuration fieldset (for "Constant" optimizer)

Configuration Fieldset

Parameter Default value Description
Boost value (%) none The boost value to apply to products matched by this optimizer. Must be between -99 and 10 000.

Apply to products fieldset

Apply to products

This fieldset figures a rule editor where you are able to chose any combination of conditions you want to match.

Eg :

  • "Color is Blue" to apply a boost on products having the value "Blue" for the "Color" Attribute
  • "Only discounted products" to apply a boost on products actually having a special price applied
  • "Only in stock products" to display immediately salable products on top of your product list
  • and so on ...

Updating an Optimizer

You can edit a previously created optimizer and modify or remove some elements (eg. : a new clause to the rule, or leverage the boost).

Removing an Optimizer

You can remove a previously created optimizer from the grid or by clicking the Delete button on the optimizer edit page.

⚠️ **GitHub.com Fallback** ⚠️