Heyday\Elastica\Searchable::batchIndex
Batch update all documents attached to the index for this record
Signature
public function batchIndex(callable
$callback,
[integer&
$documentsProcessed = 0] )
Parameters
$callback
— callable
$documentsProcessed
— integer
Returns
- mixed