There is indeed a query query, which only exists for backward compatibility reasons. There used to be a query filter in version 1.x (https://www.elastic.co/guide/en/elasticsearch/reference/1.7/query-dsl-query-filter.html). In 2.x we merged queries and filters, but to keep existing queries compatible, we had to keep a query query which just returns the inner query. This quey query is removed in version 5.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.