Свойство | Тип | Описание | |
---|---|---|---|
$container | Newscoop\Search\IndexClientInterface | ||
$indexClients | Array | Array containing object of Newscoop\Search\IndexClientInterface | |
$name | string | Name of the indexer | |
$repository | Newscoop\Search\RepositoryInterface | ||
$service | Newscoop\Search\ServiceInterface |
Метод | Описание | |
---|---|---|
__construct ( Symfony\Component\DependencyInjection\Container $container, Newscoop\Search\ServiceInterface $service, Newscoop\Search\RepositoryInterface $repository = null, $indexerName ) | ||
clearAll ( ) : void | Clear all indexed timestamps | |
delete ( $event ) : void | Delete event listener | |
deleteAll ( ) : void | Delete all docs from indexing clients | |
update ( mixed $count = 50, array $filter = null ) : void | Update index |
Метод | Описание | |
---|---|---|
getIndexClients ( ) : array | Get installed indexing clients |
public __construct ( Symfony\Component\DependencyInjection\Container $container, Newscoop\Search\ServiceInterface $service, Newscoop\Search\RepositoryInterface $repository = null, $indexerName ) | ||
$container | Symfony\Component\DependencyInjection\Container | |
$service | Newscoop\Search\ServiceInterface | |
$repository | Newscoop\Search\RepositoryInterface |
protected IndexClientInterface,Newscoop\Search $container | ||
Результат | Newscoop\Search\IndexClientInterface |
protected Array $indexClients | ||
Результат | Array |
protected RepositoryInterface,Newscoop\Search $repository | ||
Результат | Newscoop\Search\RepositoryInterface |