LegacySearchIndexer
class LegacySearchIndexer extends StandardSearchIndexer (View source)
Properties
protected Connection | $connection | from StandardSearchIndexer |
Methods
Store in the index table the value of an attribute of an item.
Remove from the index table the value of an attribute of an item.
Create the database table where the data of the indexed attributes will be stored.
Create or update the column that contains the indexed data of a specific attribute.
No description
Check if a category is correctly configured to handle indexing stuff.
Details
__construct(Connection $connection)
Initialize the instance.
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.
createRepository(CategoryInterface $category)
Create the database table where the data of the indexed attributes will be stored.
updateRepositoryColumns(CategoryInterface $category, AttributeKeyInterface $key, string|null $previousHandle = null)
Create or update the column that contains the indexed data of a specific attribute.
refreshRepositoryColumns(CategoryInterface $category, AttributeKeyInterface $key)
deprecated
deprecated
No description
protected bool
isValid(CategoryInterface $category)
Check if a category is correctly configured to handle indexing stuff.