Match_none and must_not named queries

I'm building ES queries dynamically in code, and sometimes I choose to omit some part of the query.
I've been using the "_name" property for logging and debugging, however I wish I could also use it to tell which sub queries did NOT match.
Specifically I wish I could name a "match_none" or queries in a "bool must_not" clause, is there any way for me to achieve this?

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