Property | Type | Description | |
---|---|---|---|
$add | array | Contains data to be added | |
$container | Symfony\Component\DependencyInjection\Container | Symfony container | |
$delete | array | Contains data to be deleted | |
$item | Newscoop\Search\DocumentInterface | Indexable item | |
$service | Newscoop\Search\ServiceInterface | Newscoop service interface | |
$update | array | Contains data to be updated |
Method | Description | |
---|---|---|
__construct ( Symfony\Component\DependencyInjection\Container $container ) | ||
add ( array $document ) : boolean | Adds data to inderxer | |
delete ( string $document ) : boolean | Delete item from index | |
deleteAll ( ) : boolean | Delete all indexed data | |
flush ( ) : boolean | Flush all commands | |
isEnabled ( $clientName ) | ||
isTypeIndexable ( $serviceName, $subType ) | ||
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 | |
update ( array $document ) : boolean | Updates element in indexer (if supported) |
public __construct ( Symfony\Component\DependencyInjection\Container $container ) | ||
$container | Symfony\Component\DependencyInjection\Container |
public setItem ( Newscoop\Search\DocumentInterface $item ) | ||
$item | Newscoop\Search\DocumentInterface |
public setService ( Newscoop\Search\ServiceInterface $service ) | ||
$service | Newscoop\Search\ServiceInterface |
protected Container,Symfony\Component\DependencyInjection $container | ||
return | Symfony\Component\DependencyInjection\Container |
protected DocumentInterface,Newscoop\Search $item | ||
return | Newscoop\Search\DocumentInterface |
protected ServiceInterface,Newscoop\Search $service | ||
return | Newscoop\Search\ServiceInterface |