Aggregation execution time

When we have a query with aggs, the took field returned in search API represents the execution time of all the search, query and agg? Or only the query execution time and the agg time isn't included there.


The took time represents the time taken to execute the entire request (except for serialising the response to JSON)

1 Like