include/SugarSearchEngine/Elastic/Elastica/Status.php

Show: inherited
Table of Contents

Elastica general status

Author
Nicolas Ruflin  
Category
Xodoa  
Link
http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html  
Package
Elastica  

\Elastica_Status

Package: Elastica

Elastica general status

Author
Nicolas Ruflin  
Category
Xodoa  
Link
http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html  

Properties

Propertyprotected  $_client= 'null'
Default valuenullDetails
Type
n/a
Propertyprotected  $_data= 'array()'
Default valuearray()Details
Type
n/a
Propertyprotected\Elastica_Response  $_response= 'null'

Contains all status infos

Response object
Default valuenullDetails
Type
\Elastica_Response

Methods

methodpublic__construct( \Elastica_Client $client ) : void

Constructs Status object

Parameters
Name Type Description
$client \Elastica_Client

Client object

methodpublicaliasExists( string $name ) : bool

Checks if the given alias exists

Parameters
Name Type Description
$name string

Alias name

Returns
Type Description
bool True if alias exists
methodpublicgetData( ) : array

Returns status data

Returns
Type Description
array Status data
methodpublicgetIndexNames( ) : array

Returns a list of the existing index names

Returns
Type Description
array Index names list
methodpublicgetIndexStatuses( ) : array

Returns status objects of all indices

Returns
Type Description
array List of Elastica_Client_Index objects
methodpublicgetIndicesWithAlias( string $name ) : array

Returns an array with all indices that the given alias name points to

Parameters
Name Type Description
$name string

Alias name

Returns
Type Description
array List of Elastica_Index
methodpublicgetResponse( ) : \Elastica_Response

Returns response object

Returns
Type Description
\Elastica_Response Response object
methodpublicgetServerStatus( ) : void

Refresh serverStatus object

methodpublicgetShards( ) : array

Returns
Type Description
array Shards info
methodpublicindexExists( string $name ) : bool

Checks if the given index exists

Parameters
Name Type Description
$name string

Index name to check

Returns
Type Description
bool True if index exists
methodpublicrefresh( ) : void

Refresh status object

Documentation was generated by DocBlox 0.18.1.