Class

eZ\Publish\Core\Search\Common\Indexer

abstract class Indexer

Base class for the Search Engine Indexer Service aimed to recreate Search Engine Index.

Each Search Engine has to extend it on its own.

Constants

CONTENTOBJECT_TABLE

CONTENTOBJECT_TREE_TABLE

Methods

__construct(LoggerInterface $logger, Handler $persistenceHandler, DatabaseHandler $databaseHandler, Handler $searchHandler)

createSearchIndex(OutputInterface $output, int $iterationCount, bool $commit)

Create search engine index.

Details

at line 49
public __construct(LoggerInterface $logger, Handler $persistenceHandler, DatabaseHandler $databaseHandler, Handler $searchHandler)

Parameters

LoggerInterface $logger
Handler $persistenceHandler
DatabaseHandler $databaseHandler
Handler $searchHandler

at line 68
abstract public createSearchIndex(OutputInterface $output, int $iterationCount, bool $commit)

Create search engine index.

Parameters

OutputInterface $output
int $iterationCount
bool $commit commit changes after each iteration