Log in
Interface

AdditionalFieldsProviderInterface

Magento\AdvancedSearch\Model\Adapter\DataMapper\AdditionalFieldsProviderInterface

What it does

This interface defines a contract for providing additional custom fields to be indexed during search indexing in Magento 2's Advanced Search module.

Developers implement this interface when they need to add extra product data fields (like custom attributes or computed values) to the search index for specific products and stores, which can then be used for search queries and filtering.

Public Methods

  • getFields()