StandardSearchIndexer
class StandardSearchIndexer implements SearchIndexerInterface (View source)
Properties
protected | $connection | ||
protected | $comparator |
Methods
array
setTypeLength(array $options)
For certain fields (eg TEXT) Doctrine uses the length of the longest column to determine what field type to use.
refreshSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key)
Refresh the Search Index columns (if there are schema changes for example).
updateSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key, $previousHandle = null)
No description
clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, $subject)
No description
Details
__construct(Connection $connection, Comparator $comparator)
No description
protected
getIndexEntryColumn(Key $key, $subKey = false)
No description
private array
setTypeLength(array $options)
For certain fields (eg TEXT) Doctrine uses the length of the longest column to determine what field type to use.
For search indexing even if we may not currently have something long in a column, we need the longest possible column so that we don't truncate any data.
refreshSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key)
Refresh the Search Index columns (if there are schema changes for example).
updateSearchIndexKeyColumns(CategoryInterface $category, AttributeKeyInterface $key, $previousHandle = null)
No description
clearIndexEntry(CategoryInterface $category, AttributeValueInterface $value, $subject)
No description
indexEntry(CategoryInterface $category, AttributeValueInterface $value, $subject)
No description