Property | Type | Description | |
---|---|---|---|
$dbHandler | eZ\Publish\Core\Persistence\Database\DatabaseHandler | Database handler. | |
$fullTextSearchConfiguration | array | Full text search configuration options. | |
$searchIndex | Need this for queries on ezsearch* tables | ||
$transformationProcessor | Need this for being able to transform text to searchable value | ||
$typeHandler | eZ\Publish\SPI\Persistence\Content\Type\Handler | Need this for being able to pick fields that are searchable. |
Method | Description | |
---|---|---|
__construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $typeHandler, |
Construct from handler handler. | |
bulkIndex ( array $fullTextBulkData ) | Indexes an array of FullTextData objects. | |
index ( |
Index search engine full text data corresponding to content object field values. | |
purgeIndex ( ) | Remove entire search index. | |
remove ( mixed $contentId, mixed | null $versionId = null ) : boolean | Remove whole content or a specific version from index. |
Method | Description | |
---|---|---|
buildWordIDArray ( array $indexArrayOnlyWords ) : array | Build WordIDArray and update ezsearch_word table. | |
indexWords ( |
Index wordIndex. |
public __construct ( eZ\Publish\Core\Persistence\Database\DatabaseHandler $dbHandler, eZ\Publish\SPI\Persistence\Content\Type\Handler $typeHandler, |
||
$dbHandler | eZ\Publish\Core\Persistence\Database\DatabaseHandler | |
$typeHandler | eZ\Publish\SPI\Persistence\Content\Type\Handler | |
$transformationProcessor | ||
$searchIndex | ||
$fullTextSearchConfiguration | array |
public index ( |
||
$fullTextData |
protected DatabaseHandler,eZ\Publish\Core\Persistence\Database $dbHandler | ||
return | eZ\Publish\Core\Persistence\Database\DatabaseHandler |
protected array $fullTextSearchConfiguration | ||
return | array |
protected SearchIndex,eZ\Publish\Core\Search\Legacy\Content\WordIndexer\Repository $searchIndex | ||
return |
protected TransformationProcessor,eZ\Publish\Core\Persistence $transformationProcessor | ||
return |