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

Show file Open project: ezsystems/ezpublish-kernel Class Usage Examples

Public Methods

Method Description
bulkIndex ( array $fullTextBulkData ) Indexes an array of FullTextData objects.
index ( FullTextData $fullTextValue ) Index search engine FullTextData objects corresponding to content object field values.
purgeIndex ( ) Remove entire search index.
remove ( mixed $contentId, mixed | null $versionId = null ) Remove whole content or a specific version from index.

Method Details

bulkIndex() abstract public method

Indexes an array of FullTextData objects.
abstract public bulkIndex ( array $fullTextBulkData )
$fullTextBulkData array

index() abstract public method

Index search engine FullTextData objects corresponding to content object field values.
abstract public index ( FullTextData $fullTextValue )
$fullTextValue eZ\Publish\Core\Search\Legacy\Content\FullTextData

purgeIndex() abstract public method

Remove entire search index.
abstract public purgeIndex ( )

remove() abstract public method

Remove whole content or a specific version from index.
abstract public remove ( mixed $contentId, mixed | null $versionId = null )
$contentId mixed
$versionId mixed | null