Метод |
Описание |
|
__construct ( Symfony\Component\DependencyInjection\Container $container ) |
Initialize class |
|
add ( array $item ) : boolean |
Add given item |
|
delete ( String $itemId ) : boolean |
Delete given article by id |
|
deleteAll ( ) : boolean |
Delete all indexed data |
|
flush ( ) : boolean |
Commit changes to index |
|
isEnabled ( $clientName ) : boolean |
Checks whether the index client is enabled for the current service |
|
isTypeIndexable ( string $serviceName, $itemSubType ) : boolean |
Checks whether the subtype is indexable. |
|
setItem ( Newscoop\Search\DocumentInterface $item ) |
Set item. This method gives the possibility for the indexing client
to access extra data in regards to the default indexable content. |
|
setService ( Newscoop\Search\ServiceInterface $service ) |
Set service for the current client |
|
update ( array $item ) : boolean |
Update given item |
|