Is your feature request related to a problem? Please describe.
While doing performance reviews I noticed that the API bulk operations don't make use of bulk indexing as far as I can tell. Not a problem per se, just seems like an obvious improvement.
Describe the solution you'd like
Modify Workarea::Api::Admin::BulkUpsert#perform! to disable normal indexing callbacks and collect the models being changed so you can then call the bulk method on the ES Document classes.
Is your feature request related to a problem? Please describe.
While doing performance reviews I noticed that the API bulk operations don't make use of bulk indexing as far as I can tell. Not a problem per se, just seems like an obvious improvement.
Describe the solution you'd like
Modify
Workarea::Api::Admin::BulkUpsert#perform!to disable normal indexing callbacks and collect the models being changed so you can then call the bulk method on the ES Document classes.