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
Example #1
0
 /**
  * Indexes a content object.
  *
  * @param \eZ\Publish\SPI\Persistence\Content $content
  */
 public function indexContent(Content $content)
 {
     $fullTextValue = $this->mapper->mapContent($content);
     $this->indexerGateway->index($fullTextValue);
 }