I am using the Profile API to understand the query behavior at the back-end. I see, when we fire a query
there is a normal search response time 'took', which is lesser than the time than what is observed in the profile data.
For instance, this is what my response looks like: took: 934 ... profile : query: time : 1310ms for one of the shards.
My expectation is the profile data is showing the distribution for the time taken to get the search response.
Could anyone explain why is this discrepancy seen or why is this expected ?