Closed clintongormley closed 11 years ago
Add Elastic::Model::Bulk to save/overwrite documents in batches for improved performance:
Elastic::Model::Bulk
$bulk = $model->bulk( size => 1000, on_conflict => sub {...}, on_error => sub {...} ); $bulk->save($doc); $bulk->overwrite($doc); ... $bulk->commit;
Add
Elastic::Model::Bulk
to save/overwrite documents in batches for improved performance: