Use Elasticsearch's "update by query API" to update related resources
|Category:||Performance / scalability|
|Google Code Legacy ID:||Tested version:|
The update by query API was an experimental feature in Elasticsearch 2.x but it's no longer like that in 5.x and later versions:
With some considerations in how the affected fields are indexed, this could be used to update all the related resources (descendants, IOs related to a repository, etc.) instead of do it one by one.
#2 Updated by José Raddaoui Marín over 1 year ago
An example that could be used in the update publication status job: