Shards query and merging time


I want to know if there is anyway, by which we can find the following
1)Query execution time on a shard.
2)Merging time to merge the result of every shard.

I have gone through the Profile API, But didn't understand much, Could you please help me with above timings.

IF you have a setting 0s in your elasticsearch .yml, it would print the query execution time per shard.

Related to second question please check this

Hey SKumarMN,

Thanks .

Will surely try this today.

As for the merging time taken by each shard for a given search query, We wont be able to find using : Index stats API | Elasticsearch Guide [7.15] | Elastic

As these gives the cummulative time.

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