Is it possible to use a min_query within a filtered query. So not on the whole query object itself, but on the query within the filtered query. I've tried it, but only get error. This is an example of the code I'm using to do the query:
Am I doing anything wrong or is this not supposed to work?
I don't think it's meant to work -- min_score is defined on the Search API,
not the query DSL. I'm interested in this capability, too.
A workaround might be to use custom_score as a poor man's filter -- at each
point where you want to do a min_score, wrap a custom score that sets score
to 0 if the score is below the threshold. Bubble the zeroes up, and set
min_score to 0 on the search request.
Is it possible to use a min_query within a filtered query. So not on the
whole query object itself, but on the query within the filtered query.
I've
tried it, but only get error. This is an example of the code I'm using to
do
the query:
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.