Log in

Elasticsearch Module

Adapter\BatchDataMapper\DataMapperResolver

Model

This class acts as a resolver that maps product/entity data to Elasticsearch-compatible document format based on the entity type. Developers use this...

Adapter\BatchDataMapper\PriceFieldsProvider

Model

This class provides price field data mapping for Elasticsearch indexing in Magento 2. It retrieves product price information for different customer gr...

Adapter\BatchDataMapper\ProductDataMapper

Model

This class transforms Magento product data into a format suitable for Elasticsearch indexing. It handles mapping of product attributes, converting val...

Adapter\Document\Builder

Model

This class builds Elasticsearch document structures by collecting field-value pairs and formatting them into a properly structured array. Developers u...

Adapter\Elasticsearch

Model

This class serves as the main adapter for interacting with Elasticsearch search engine in Magento 2. Developers use it to manage search indexes includ...

Adapter\FieldMapper\AddDefaultSearchField

Model

This class adds a default '_search' catch-all field to Elasticsearch field mappings. It preprocesses field mappings by injecting a text-type field tha...

Adapter\FieldMapper\CopySearchableFieldsToSearchField

Model

This class preprocesses Elasticsearch field mappings by adding a 'copy_to' parameter that copies searchable text and keyword fields to a unified '_sea...

Adapter\FieldMapper\FieldMapperResolver

Model

This class resolves and delegates field mapping operations to entity-specific field mappers in Elasticsearch. Developers use it to get the correct Ela...

Adapter\FieldType

Model

This deprecated class determines the appropriate Elasticsearch field type (string, integer, float, or date) based on a product attribute's backend typ...

Adapter\FieldType\Date

Model

This class formats date values into ISO 8601 format (e.g., 1995-12-31T23:59:59Z) for Elasticsearch indexing. Developers use this when preparing date f...

Adapter\Index\Builder

Model

This class builds Elasticsearch index settings and analysis configurations for Magento 2's search functionality. Developers use it when customizing se...

Adapter\Index\IndexNameResolver

Model

This class manages Elasticsearch index naming conventions in Magento 2. Developers use it to generate consistent index names, aliases, and patterns fo...

Advanced\ProductCollectionPrepareStrategy

Model

This class prepares product collections for advanced search results when using Elasticsearch. It ensures the collection includes necessary product att...

Config

Model

This class manages Elasticsearch configuration for Magento 2's search functionality. Developers use it to retrieve Elasticsearch connection settings (...

Config\Backend\MinimumShouldMatch

Model

This class validates and saves the Elasticsearch 'minimum_should_match' configuration value in Magento's admin panel. Developers would use this to ens...

DataProvider\Base\GetSuggestionFrequency

Model

This class retrieves the frequency count (number of results) for a given search suggestion term in Elasticsearch. Developers use it to determine how m...

DataProvider\Base\Suggestions

Model

This class provides search query suggestions (autocomplete) functionality for Elasticsearch in Magento 2. Developers use it to generate alternative se...

Indexer\IndexStructure

Model

This class manages the creation and deletion of Elasticsearch index structures in Magento 2. Developers would use this when setting up or tearing down...

Indexer\IndexerHandler

Model

This class handles indexing operations for Elasticsearch in Magento 2's catalog search functionality. Developers interact with it when products need t...

Layer\Category\ItemCollectionProvider

Model

This class provides the product collection for category pages when Elasticsearch is the active search engine. It resolves the appropriate collection f...

Layer\Search\ItemCollectionProvider

Model

This class provides the product collection for Elasticsearch-based search results in Magento 2's layered navigation. It determines which search engine...

Model\Adapter\BatchDataMapperInterface

Interface

This interface defines a contract for mapping Magento product attribute data into a format suitable for Elasticsearch indexing. Developers implement t...

Model\Adapter\BatchDataMapper\DataMapperFactory

Factory

This factory creates data mapper instances for transforming entity data into Elasticsearch-compatible format based on entity type (e.g., products, cat...

Model\Adapter\FieldMapperInterface

Interface

This interface defines the contract for mapping Magento product attributes to Elasticsearch field names. Developers use implementations of this interf...

Model\Adapter\FieldsMappingPreprocessorInterface

Interface

This interface defines a contract for preprocessing Elasticsearch field mappings before they are saved to the index. Developers would implement this i...

Model\Adapter\Index\BuilderInterface

Interface

This interface defines the contract for building Elasticsearch index configurations in Magento 2. Developers implement this interface to create custom...

Model\DataProvider\Base\GetSuggestionFrequencyInterface

Interface

This interface defines a contract for retrieving the frequency (result count) of search suggestions in Elasticsearch. Developers implement this interf...

ResourceModel\Engine

Model

This class serves as the resource model for Elasticsearch search engine integration in Magento 2, implementing the core search engine interface. Devel...

ResourceModel\Index

Model

This resource model retrieves and prepares product and category data for Elasticsearch indexing. Developers use this class when building custom Elasti...