PHP 클래스 ElasticSearcher\Managers\IndicesManager

상속: extends ElasticSearcher\Abstracts\AbstractManager
파일 보기 프로젝트 열기: madewithlove/elasticsearcher 1 사용 예제들

공개 메소드들

메소드 설명
create ( string $indexName )
delete ( string $indexName )
deleteType ( string $indexName, string $type )
exists ( string $indexName ) : boolean
existsType ( string $indexName, string $type ) : boolean
get ( string $indexName ) : array
getRegistered ( string $indexName ) : AbstractIndex Get a registered index. When not found it will throw an exception.
getType ( string $indexName, string $type ) : array
indices ( ) : mixed
isRegistered ( string $indexName ) : boolean
register ( AbstractIndex $index ) : AbstractIndex
registerIndices ( array $indices )
registeredIndices ( ) : array
unregister ( string $indexName ) : AbstractIndex
update ( string $indexName ) Update the index and all its types. This should be used when wanting to reflect changes in the Index object with the elasticsearch server.

메소드 상세

create() 공개 메소드

public create ( string $indexName )
$indexName string

delete() 공개 메소드

public delete ( string $indexName )
$indexName string

deleteType() 공개 메소드

public deleteType ( string $indexName, string $type )
$indexName string
$type string

exists() 공개 메소드

public exists ( string $indexName ) : boolean
$indexName string
리턴 boolean

existsType() 공개 메소드

public existsType ( string $indexName, string $type ) : boolean
$indexName string
$type string
리턴 boolean

get() 공개 메소드

public get ( string $indexName ) : array
$indexName string
리턴 array

getRegistered() 공개 메소드

If you do not want the exception being thrown, use getRegistered first.
public getRegistered ( string $indexName ) : AbstractIndex
$indexName string
리턴 ElasticSearcher\Abstracts\AbstractIndex

getType() 공개 메소드

public getType ( string $indexName, string $type ) : array
$indexName string
$type string
리턴 array

indices() 공개 메소드

public indices ( ) : mixed
리턴 mixed

isRegistered() 공개 메소드

public isRegistered ( string $indexName ) : boolean
$indexName string
리턴 boolean

register() 공개 메소드

public register ( AbstractIndex $index ) : AbstractIndex
$index ElasticSearcher\Abstracts\AbstractIndex
리턴 ElasticSearcher\Abstracts\AbstractIndex

registerIndices() 공개 메소드

public registerIndices ( array $indices )
$indices array

registeredIndices() 공개 메소드

public registeredIndices ( ) : array
리턴 array

unregister() 공개 메소드

public unregister ( string $indexName ) : AbstractIndex
$indexName string
리턴 ElasticSearcher\Abstracts\AbstractIndex

update() 공개 메소드

Update the index and all its types. This should be used when wanting to reflect changes in the Index object with the elasticsearch server.
public update ( string $indexName )
$indexName string