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

Public Member Functions

 __construct (Search $search, int $numRetries=12, float $backoffFactor=1.)
 
 current ()
 
 key ()
 
 next ()
 
 initializeSearchAfter (array $searchAfter)
 
 rewind ()
 
 valid ()
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Elastica\SearchAfter::__construct ( Search $search,
int $numRetries = 12,
float $backoffFactor = 1. )
Parameters
Search$search
int$numRetriesThe number of retries to perform on each iteration
float$backoffFactorScales the backoff duration, backoff calculated as {backoffFactor} * 2^({retry} - 1) which gives, with no scaling, [0.5, 1, 2, 4, 8, ...]

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