include/SugarSearchEngine/Elastic/Elastica/Index/Status.php
Elastica index status object
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Link
- http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html
- Package
- Elastica
\Elastica_Index_Status
Package: Elastica
Returns
Elastica index status object
- Author
- Nicolas Ruflin
- Category
- Xodoa
- Link
- http://www.elasticsearch.org/guide/reference/api/admin-indices-status.html
Properties
Methods
__construct(
\Elastica_Index $index
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$index | \Elastica_Index | Index object |
get(
)
:
mixed
Returns the entry in the data array based on the params.
Various params possible.
Type | Description |
---|---|
mixed | Data array entry or null if not found |
getIndex(
)
:
\Elastica_Index
Returns the index object
Returns
Type | Description |
---|---|
\Elastica_Index | Index object |
getResponse(
)
:
\Elastica_Response
Returns response object
Returns
Type | Description |
---|---|
\Elastica_Response | Response object |
hasAlias(
string $name
)
:
void
Checks if the index has the given alias
Parameters
Name | Type | Description |
---|---|---|
$name | string | Alias name |