Response time breakdown by phase


I am currently investigating why our 95th percentile response time is very
high (around 1.5s).

To help me with the investigation, I would like to get response time
breakdown by each phase. I am using the java API and using the
response.getTookInMillis() function to collect the response time. Is there
any way to get the response time for query phase and fetch phase
separately ? Also, I am using the native java scoring script (implemented
as a plugin) and i would like to know the time taken by my plugin. Is there
any suggestion on how to get these numbers ?


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit