CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Elastica\ReindexStatus Class Reference
+ Inheritance diagram for CirrusSearch\Elastica\ReindexStatus:

Public Member Functions

 __construct (array $status)
 
 isComplete ()
 
 getTotal ()
 
 getUpdated ()
 
 getCreated ()
 
 getDeleted ()
 
 getBatches ()
 
 getVersionConflicts ()
 
 getNoops ()
 
 getBulkRetries ()
 
 getSearchRetries ()
 
 getThrottledMillis ()
 
 getRequestsPerSecond ()
 
 getThrottledUntil ()
 
 getSlices ()
 

Protected Attributes

 $status
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Elastica\ReindexStatus::__construct ( array $status)
Parameters
array$statusStatus part of response from elasticsearch _tasks api

Member Function Documentation

◆ getBatches()

CirrusSearch\Elastica\ReindexStatus::getBatches ( )
Returns
int Number of scan responses this request has processed.

◆ getBulkRetries()

CirrusSearch\Elastica\ReindexStatus::getBulkRetries ( )
Returns
int Number of retires that had to be attempted due to bulk actions being rejected.

◆ getCreated()

CirrusSearch\Elastica\ReindexStatus::getCreated ( )
Returns
int Count of documents created.

◆ getDeleted()

CirrusSearch\Elastica\ReindexStatus::getDeleted ( )
Returns
int Count of successful delete operations.

◆ getNoops()

CirrusSearch\Elastica\ReindexStatus::getNoops ( )
Returns
int Number of noops (skipped bulk items) as part of this request.

◆ getRequestsPerSecond()

CirrusSearch\Elastica\ReindexStatus::getRequestsPerSecond ( )
Returns
int The number of requests per second to which to throttle the request. -1 means unlimited.

◆ getSearchRetries()

CirrusSearch\Elastica\ReindexStatus::getSearchRetries ( )
Returns
int Number of retries that had to be attempted due to search actions being rejected.

◆ getSlices()

CirrusSearch\Elastica\ReindexStatus::getSlices ( )
Returns
array Statuses of the sub requests into which this sub-request was sliced. Empty if this request wasn't sliced into sub-requests.

◆ getThrottledMillis()

CirrusSearch\Elastica\ReindexStatus::getThrottledMillis ( )
Returns
int The total time this request has throttled itself not including the current throttle time if it is currently sleeping.

◆ getThrottledUntil()

CirrusSearch\Elastica\ReindexStatus::getThrottledUntil ( )
Returns
int Remaining delay of any current throttle sleep or 0 if not sleeping.

◆ getTotal()

CirrusSearch\Elastica\ReindexStatus::getTotal ( )
Returns
int The total number of documents this request will process. 0 means we don't yet know or, possibly, there are actually 0 documents to process.

◆ getUpdated()

CirrusSearch\Elastica\ReindexStatus::getUpdated ( )
Returns
int Count of documents updated.

◆ getVersionConflicts()

CirrusSearch\Elastica\ReindexStatus::getVersionConflicts ( )
Returns
int Number of version conflicts this request has hit.

◆ isComplete()

CirrusSearch\Elastica\ReindexStatus::isComplete ( )
Returns
bool

Reimplemented in CirrusSearch\Elastica\ReindexResponse.


The documentation for this class was generated from the following file: