class SearchUpdateImmediateProcessor extends SearchUpdateProcessor (View source)

Properties

protected array $dirty

List of dirty records to process in format

from  SearchUpdateProcessor

Methods

public
__construct()

No description

public
addDirtyIDs($class, $statefulids, $index)

No description

protected
array
prepareIndexes()

Generates the list of indexes to process for the dirty items

protected
bool
commitIndex(SolrIndex $index)

Commits the specified index to the Solr service

protected
array
getSource()

Gets the record data source to process

public
bool
process()

Process all indexes, returning true if successful

public
triggerProcessing()

No description

Details

__construct()

No description

addDirtyIDs($class, $statefulids, $index)

No description

Parameters

$class
$statefulids
$index

protected array prepareIndexes()

Generates the list of indexes to process for the dirty items

Return Value

array

protected bool commitIndex(SolrIndex $index)

Commits the specified index to the Solr service

Parameters

SolrIndex $index

Index object

Return Value

bool

Flag indicating success

protected array getSource()

Gets the record data source to process

Return Value

array

bool process()

Process all indexes, returning true if successful

Return Value

bool

Flag indicating success

triggerProcessing()

No description