That is not easy, and the reason is that Elasticsearch and Solr work in quite a different way eg. when it comes to compute facets/aggregations: Solr first computes top hits, and if facets are required, it will load the doc IDs of document matches into a bit set that will be used in a subsequent step in order to compute facets. On the other hand, Elasticsearch computes both top hits and facets/aggregations at the same time (in the same "Collector" if you are familiar with Lucene terminology) which makes timings harder to track.
On Thu, May 22, 2014 at 6:25 AM, Srinivasan Ramaswamy <[email protected]>wrote: > In the past when i used solr, i can look at time taken by each component > to understand where most of the time is spent for a particular query. > Similarly, I am trying to understand the breakdown of time spent for one > particular query. Can anyone tell me how can i investigate performance of > specific queries it in elasticsearch ? > > Thanks > Srini > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/02f323f6-b2af-4c71-889f-9f4f7f888c57%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/02f323f6-b2af-4c71-889f-9f4f7f888c57%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j5y1Md0G9WBuQxj_AokB8ro%2BuYAR9biFRKwYLdbpAkU4g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
