CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Elastica\ReindexRequest Class Reference

Public Member Functions

 __construct (Index $source, Index $dest, $chunkSize=100)
 
 setRemoteInfo (array $remote)
 
 setScript (array $script)
 
 setSize ( $size)
 The number of documents to reindex.
 
 setRequestsPerSecond ( $rps)
 
 setSlices ( $slices)
 
 reindexTask ()
 
 reindex ()
 
 toArray ()
 

Constructor & Destructor Documentation

◆ __construct()

CirrusSearch\Elastica\ReindexRequest::__construct ( Index $source,
Index $dest,
$chunkSize = 100 )
Parameters
Index$source
Index$dest
int$chunkSize

Member Function Documentation

◆ reindex()

CirrusSearch\Elastica\ReindexRequest::reindex ( )
Returns
ReindexResponse

◆ reindexTask()

CirrusSearch\Elastica\ReindexRequest::reindexTask ( )
Returns
ReindexTask

◆ setRemoteInfo()

CirrusSearch\Elastica\ReindexRequest::setRemoteInfo ( array $remote)
Parameters
array$remote
Returns
$this

◆ setRequestsPerSecond()

CirrusSearch\Elastica\ReindexRequest::setRequestsPerSecond ( $rps)
Parameters
int$rps
Returns
$this

◆ setScript()

CirrusSearch\Elastica\ReindexRequest::setScript ( array $script)
Parameters
array$script
Returns
$this

◆ setSize()

CirrusSearch\Elastica\ReindexRequest::setSize ( $size)

The number of documents to reindex.

Parameters
int$size
Returns
$this

◆ setSlices()

CirrusSearch\Elastica\ReindexRequest::setSlices ( $slices)
Parameters
int$slices
Returns
$this

◆ toArray()

CirrusSearch\Elastica\ReindexRequest::toArray ( )
Returns
array

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