StandardSearchIndexerInterface
interface StandardSearchIndexerInterface (View source)
Class to be implemented by attribute categories to define the attribute indexing table.
Methods
Get the name of the indexing table (return false if there's no indexing table).
Get the definition of the indexing table, excluding attribute-related fields (return false if there's no indexing table).
Get the value of the primary key column of the indexing table that identifies the object to be indexed.
Details
string|false
getIndexedSearchTable()
Get the name of the indexing table (return false if there's no indexing table).
array|false
getSearchIndexFieldDefinition()
Get the definition of the indexing table, excluding attribute-related fields (return false if there's no indexing table).
The resulting array can have these keys:
- columns: an array describing the table columns
- primary: an array containing the names of the columns that define the table primary key
- foreignKeys: an array describing the foreign keys.
mixed
getIndexedSearchPrimaryKeyValue(object $mixed)
Get the value of the primary key column of the indexing table that identifies the object to be indexed.