Log in
Model

Builder

Magento\Elasticsearch\Model\Adapter\Index\Builder

What it does

This class builds Elasticsearch index settings and analysis configurations for Magento 2's search functionality.

Developers use it when customizing search behavior, as it defines tokenizers, filters, and analyzers that determine how product data is indexed and searched, including support for synonyms, stemming, and special handling for SKU searches.

Public Methods

  • build()
  • setStoreId()