Using ElasticSearch when you do a batch operation, like adding items or removing items, the record is reindexed every time that one item is changed (added or removed). Operations with this problem: - Add mutiple copies to one record - Remove all record items - Edit some or all record items Test plan 1: - Create a record - Add mutiple copies to that record (1000 for example) - Record will be at least reindexed 1000 times (one for each item) Test plan 2: - Create a record with mutiple copies (1000 for example) - Remove all items - Record will be at least reindexed 1000 times (one for each item)
Bug #22417 could help with this problem.