Elasticsearch Module
Adapter\BatchDataMapper\DataMapperResolver
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
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
This class transforms Magento product data into a format suitable for Elasticsearch indexing. It handles mapping of product attributes, converting val...
Adapter\Document\Builder
This class builds Elasticsearch document structures by collecting field-value pairs and formatting them into a properly structured array. Developers u...
Adapter\Elasticsearch
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
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
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
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
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
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
This class builds Elasticsearch index settings and analysis configurations for Magento 2's search functionality. Developers use it when customizing se...
Adapter\Index\IndexNameResolver
This class manages Elasticsearch index naming conventions in Magento 2. Developers use it to generate consistent index names, aliases, and patterns fo...
Advanced\ProductCollectionPrepareStrategy
This class prepares product collections for advanced search results when using Elasticsearch. It ensures the collection includes necessary product att...
Config
This class manages Elasticsearch configuration for Magento 2's search functionality. Developers use it to retrieve Elasticsearch connection settings (...
Config\Backend\MinimumShouldMatch
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
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
This class provides search query suggestions (autocomplete) functionality for Elasticsearch in Magento 2. Developers use it to generate alternative se...
Indexer\IndexStructure
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
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
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
This class provides the product collection for Elasticsearch-based search results in Magento 2's layered navigation. It determines which search engine...
ResourceModel\Engine
This class serves as the resource model for Elasticsearch search engine integration in Magento 2, implementing the core search engine interface. Devel...
ResourceModel\Index
This resource model retrieves and prepares product and category data for Elasticsearch indexing. Developers use this class when building custom Elasti...