class LegacySearchIndexer extends StandardSearchIndexer (View source)

Properties

protected $connection from StandardSearchIndexer

Methods

__construct(Connection $connection)

No description

isValid(CategoryInterface $category)

No description

void
indexEntry(CategoryInterface $category, AttributeValueInterface $value, mixed $subject)

No description

void
clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, mixed $subject)

No description

void
createRepository(CategoryInterface $category)

No description

void
updateRepositoryColumns(CategoryInterface $category, AttributeKeyInterface $key, string|null $previousHandle = null)

No description

Details

__construct(Connection $connection)

Parameters

Connection $connection

protected isValid(CategoryInterface $category)

Parameters

CategoryInterface $category

void indexEntry(CategoryInterface $category, AttributeValueInterface $value, mixed $subject)

Parameters

CategoryInterface $category
AttributeValueInterface $value
mixed $subject

Return Value

void

void clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, mixed $subject)

Parameters

CategoryInterface $category
AttributeValueInterface $value
mixed $subject

Return Value

void

void createRepository(CategoryInterface $category)

Parameters

CategoryInterface $category

Return Value

void

void updateRepositoryColumns(CategoryInterface $category, AttributeKeyInterface $key, string|null $previousHandle = null)

Parameters

CategoryInterface $category
AttributeKeyInterface $key
string|null $previousHandle

Return Value

void

refreshRepositoryColumns(CategoryInterface $category, AttributeKeyInterface $key)

Parameters

CategoryInterface $category
AttributeKeyInterface $key