Initial xentral_oss_20.3.c9ffacf
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace Xentral\Modules\SuperSearch\SearchIndex\Provider;
|
||||
|
||||
use Xentral\Modules\SuperSearch\SearchIndex\Collection\ItemFormatterCollection;
|
||||
|
||||
interface BulkIndexProviderInterface extends SearchIndexProviderInterface
|
||||
{
|
||||
/**
|
||||
* Returns a range of the index items
|
||||
*
|
||||
* @param int $start
|
||||
* @param int $limit
|
||||
*
|
||||
* @return ItemFormatterCollection
|
||||
*/
|
||||
public function getBulkItems($start, $limit);
|
||||
|
||||
/**
|
||||
* Returns the number of items to process in one transaction
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getBulkSize();
|
||||
|
||||
/**
|
||||
* Returns the total count for all items
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
public function getTotalCount();
|
||||
}
|
||||
Reference in New Issue
Block a user