How to calculate the time taken to process query dsl alone before performing actual searching operation?

I understand that the entire search time is given by the "took" field. But I want to know how much time actually the elasticsearch engine takes to process the query alone before performing the search operation. While it largely depends on how complex the query is, is there a way to measure that?. Help will be much appreciated. Thanks in advance!

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