Thanks a lot,
Looks like "matched_queries" holds the value, and present inside the "hits " key. Is there a way to get the same outside of hits. Because most of my query(histogram) ignores hits/sources by setting size as 0.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.