PHP 클래스 Newscoop\Search\Indexer

파일 보기 프로젝트 열기: sourcefabric/newscoop

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

__construct() 공개 메소드

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

clearAll() 공개 메소드

Clear all indexed timestamps
public clearAll ( ) : void
리턴 void

delete() 공개 메소드

Delete event listener
public delete ( $event ) : void
리턴 void

deleteAll() 공개 메소드

Delete all docs from indexing clients
public deleteAll ( ) : void
리턴 void

update() 공개 메소드

Update index
public update ( mixed $count = 50, array $filter = null ) : void
$count mixed Number of items to index
$filter array Filter for the batch results
리턴 void

프로퍼티 상세

$container 보호되어 있는 프로퍼티

protected IndexClientInterface,Newscoop\Search $container
리턴 Newscoop\Search\IndexClientInterface

$indexClients 보호되어 있는 프로퍼티

Array containing object of Newscoop\Search\IndexClientInterface
protected Array $indexClients
리턴 Array

$name 보호되어 있는 프로퍼티

Name of the indexer
protected string $name
리턴 string

$repository 보호되어 있는 프로퍼티

protected RepositoryInterface,Newscoop\Search $repository
리턴 Newscoop\Search\RepositoryInterface

$service 보호되어 있는 프로퍼티

protected ServiceInterface,Newscoop\Search $service
리턴 Newscoop\Search\ServiceInterface