Get the time required to perform search


(Anirudh Modi) #1

Hi,
I was wondering if there is any way to figure out the time took by a query to perform search?
It will be really helpful if we can watch the performance of our query somehow.
Thanks,
Anirudh Modi


(Mark Walkom) #2

There is a took: field in the response that should help, see here.


(Anirudh Modi) #3

Thanks for the help.


(Anirudh Modi) #4

One more query that took: says it is time to execute the entire search request, so does this include fetching of the records also?


(Mark Walkom) #5

Yes, because that is part of the query.


(system) #6