Bucket Scripting

(Tirthankar Sarkar) #1

How does ES bucket scripting work internally?
Is it scalable to add multiple bucket scripts into the same aggregations ...

(Colin Goodheart-Smithe) #2

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.

(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.