Nested aggregation of 7 documents takes 1 min

Thank you for pointing that out. I've changed to "script": "doc['start_time'].value.hour", and now it completes in 5 seconds! Much improved acceptable speed. Thank you @Mark_Harwood so much for being patient with me.

Glad we resolved it!

1 Like

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