I don't quite follow the issue you're having with the provided query. Which documents are you finding are not returned by your query that you expect to be returned?
I just tested this and the query you privided returned all 7 test documents. Please provide a complete script (API calls to create mappings, index documents and run the query) that recreates your issue and also let us know which version of Elasticsearch you are using. Without this it is impossible to see what you have done wrong or left out, which results in a lot of wasted time.
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.