ElasticSearch ProfileAPI

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 ?

Thanks, Divya

Can you provide the call and the output?

Its quite huge to copy paste here. Any way to upload or share the files with you ?

Use gist/pastebin/etc.

Please fine the query and response here
http://pastebin.com/JXzDqNHS - query
http://pastebin.com/Wf09yE1y - resp


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