include/SugarSearchEngine/Elastic/Elastica/Index/Stats.php

Show: inherited
Table of Contents

Elastica index stats object

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

\Elastica_Index_Stats

Package: Elastica

Elastica index stats object

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

Properties

Propertyprotected  $_data= 'array()'
Default valuearray()Details
Type
n/a
Propertyprotected  $_name= ''''
Default value''Details
Type
n/a
Propertyprotected  $_response= 'null'
Default valuenullDetails
Type
n/a

Methods

methodpublic__construct( \Elastica_Index $index ) : void

Parameters
Name Type Description
$index \Elastica_Index

Index object

methodpublicget( ) : mixed

Returns the entry in the data array based on the params.

Various params possible.

Returns
Type Description
mixed Data array entry or null if not found
methodpublicgetData( ) : array

Returns the raw stats info

Returns
Type Description
array Stats info
methodpublicgetIndex( ) : \Elastica_Index

Returns the index object

Returns
Type Description
\Elastica_Index Index object
methodpublicgetResponse( ) : \Elastica_Response

Returns response object

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

Reloads all status data of this object

Documentation was generated by DocBlox 0.18.1.