Hey there @redk1te , boolean queries only support must, filter, should and must_not as top level parameters, each of which can hold one or more queries. You should use `one of these (depending on what you need for your use case) and include your wildcard query as a query underneath that clause.
Hi Kathleen
That did the trick. Thank you for elaborating.
I keep having a hard time finding these rules in the standard Elasticsearch help pages. Especially about combining queries.
Is there any other place where I could have found this?
Thanks for the feedback @redk1te - in this particular case we have Boolean Query DSL documentation that provides examples, though the examples are intentionally pretty simple for illustrative sake (term queries).
If there is something that could be clearer, though, feedback is always appreciated to improve!
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.