Calculate query weight. Is it possible?

Hey there, is it possible to calculate the query weight? I mean, I would like to start to optimize how I use use _search and the nested query object. So, I would like to test different approach and use different query to get the same result.
Is there any idea? Any suggestion or any parameters to be considered?

Is it took time the first parameter to be considered? Is there any preference regarding filter?

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