Property | Type | Description | |
---|---|---|---|
$_client | Client object. | ||
$_data | Data. | ||
$_response | Contains all status infos. |
Method | Description | |
---|---|---|
__construct ( |
Constructs Status object. | |
aliasExists ( string $name ) : boolean | Checks if the given alias exists. | |
getData ( ) : array | Returns status data. | |
getIndexNames ( ) : array | Returns a list of the existing index names. | |
getIndicesWithAlias ( string $alias ) : array | |
Returns an array with all indices that the given alias name points to. | |
getResponse ( ) : |
Returns response object. | |
getShards ( ) : array | Return shards info. | |
indexExists ( string $name ) : boolean | Checks if the given index exists. | |
refresh ( ) | Refresh status object. |
public __construct ( |
||
$client | Client object |
public aliasExists ( string $name ) : boolean | ||
$name | string | Alias name |
return | boolean | True if alias exists |
public getIndexNames ( ) : array | ||
return | array | Index names list |
public getIndicesWithAlias ( string $alias ) : array | |
||
$alias | string | Alias name |
return | array | |
List of Elastica\Index |
public getResponse ( ) : |
||
return | Response object |
public indexExists ( string $name ) : boolean | ||
$name | string | Index name to check |
return | boolean | True if index exists |