Log in
Interface

GetSuggestionFrequencyInterface

Magento\Elasticsearch\Model\DataProvider\Base\GetSuggestionFrequencyInterface

What it does

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

Developers implement this interface to determine how many times a particular search term appears in the search index, which is useful for ranking and displaying search suggestions to users based on their popularity.

Public Methods

  • execute()