Class

eZ\Publish\Core\Search\Legacy\Content\WordIndexer\Gateway

abstract class Gateway

The WordIndexer Gateway abstracts indexing of content full text data.

Methods

index(FullTextData $fullTextValue)

Index search engine FullTextData objects corresponding to content object field values.

remove(mixed $contentId, mixed|null $versionId = null)

Remove whole content or a specific version from index.

bulkIndex(array $fullTextBulkData)

Indexes an array of FullTextData objects.

purgeIndex()

Remove entire search index.

Details

at line 23
abstract public index(FullTextData $fullTextValue)

Index search engine FullTextData objects corresponding to content object field values.

Parameters

FullTextData $fullTextValue

at line 31
abstract public remove(mixed $contentId, mixed|null $versionId = null)

Remove whole content or a specific version from index.

Parameters

mixed $contentId
mixed|null $versionId

at line 38
abstract public bulkIndex(array $fullTextBulkData)

Indexes an array of FullTextData objects.

Parameters

array $fullTextBulkData

at line 43
abstract public purgeIndex()

Remove entire search index.