Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface::updateDocuments PHP Метод

updateDocuments() публичный Метод

$data format have to be an array of all documents update data with document id as key.
public updateDocuments ( Smile\ElasticsuiteCore\Api\Index\IndexInterface $index, Smile\ElasticsuiteCore\Api\Index\TypeInterface $type, array $data ) : Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface
$index Smile\ElasticsuiteCore\Api\Index\IndexInterface Index the documents have to be added to.
$type Smile\ElasticsuiteCore\Api\Index\TypeInterface Document type.
$data array Document data.
Результат Smile\ElasticsuiteCore\Api\Index\Bulk\BulkRequestInterface Self reference.
    public function updateDocuments(IndexInterface $index, TypeInterface $type, array $data);