How does ES bucket scripting work internally?
Is it scalable to add multiple bucket scripts into the same aggregations ...
If you are talking about the bucket_script
aggregation then you can indeed add multiple bucket_script
aggregations with the same parent aggregation. The bucket_script
aggregations will be run sequentially after any non-pipeline aggregations have be processed in the reduce phase on the coordinating node. This means that each bucket_script
you run will add time to the total time taken to complete the search request. We recommend that the scripts used in the bucket_script
are relatively simple.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.