PHP Класс ElasticSearcher\Managers\IndicesManager

Наследование: extends ElasticSearcher\Abstracts\AbstractManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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