BulkOperationsTrait
trait BulkOperationsTrait
Methods
updateDocumentsByCallback(array $documentIds, callable $callback, $requiredFields = ['_id', 'meta_data'])
Mass Update to update a few search index attributes for many documents at once This command will not create new Index entries but only update existing ones
Details
at line 20
updateDocumentsByCallback(array $documentIds, callable $callback, $requiredFields = ['_id', 'meta_data'])
Mass Update to update a few search index attributes for many documents at once This command will not create new Index entries but only update existing ones