Is it possible to define that the conditions in dis_max queries should use AND operator instead OR ( Elasticsearch 5.6.2) ?
For my example I want to see only the results which contains ".31319.67121." as "hierarchyPath" value AND "/quarterly-results/2016/q4/" in "indexableTaxonomyTags" value :
No, in dis_max there is no way to force all subqueries to match.
Is there any particular reason you use dis_max?
Why don't put all your three clauses under a single must which will satisfy your requirement:
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.