Class

eZ\Publish\Core\Search\Common\BackgroundIndexer\NullIndexer

class NullIndexer implements BackgroundIndexer

Null indexer, does nothing, for default use when non has been configured.

Methods

registerContent(ContentInfo $contentInfo)

Register a content for refreshing index in the background.

registerLocation(Location $location)

Register a location for refreshing index in the background.

Details

at line 20
public registerContent(ContentInfo $contentInfo)

Register a content for refreshing index in the background.

If content is: - deleted (NotFoundException) - not published (draft or trashed)

.. then item is removed from index, if not it is added/updated.

Parameters

ContentInfo $contentInfo

at line 24
public registerLocation(Location $location)

Register a location for refreshing index in the background.

If content is: - deleted (NotFoundException) - not published (draft or trashed)

.. then item is removed from index, if not it is added/updated.

Parameters

Location $location