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(
)
:
mixedReturns 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_IndexReturns the index object
Returns
| Type | Description |
|---|---|
| \Elastica_Index | Index object |

getResponse(
)
:
\Elastica_ResponseReturns response object
Returns
| Type | Description |
|---|---|
| \Elastica_Response | Response object |

hasAlias(
string $name
)
:
voidChecks if the index has the given alias
Parameters
| Name | Type | Description |
|---|---|---|
| $name | string | Alias name |