SearchIndexerInterface
interface SearchIndexerInterface (View source)
Interface that all the classes that handle the search index of attribute keys must implement.
Methods
updateSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key, string|null $previousHandle)
Create or update the column that contains the indexed data of a specific attribute.
indexEntry(CategoryInterface $category, AttributeValueInterface $value, object $subject)
Store in the index table the value of an attribute of an item.
clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, object $subject)
Remove from the index table the value of an attribute of an item.
Details
updateSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key, string|null $previousHandle)
Create or update the column that contains the indexed data of a specific attribute.
indexEntry(CategoryInterface $category, AttributeValueInterface $value, object $subject)
Store in the index table the value of an attribute of an item.
clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, object $subject)
Remove from the index table the value of an attribute of an item.