Support min_children
and max_children
on has_child
query/filter
#6019
Labels
>enhancement
:Search/Search
Search-related issues that do not fall into other categories
v1.3.0
v2.0.0-beta1
Currently it is very difficult and inefficient to write a query like:
The only way to do it is to:
has_child
query with an innerconstant_score
andscore_mode
ofsum
function_score
that resets the_score
to zero if the min count is not achievedmin_score
parameter to the overall queryIt would be much more efficient to be able to say:
Hopefully this could be applied to filters as well as queries?
/cc @martijnvg
The text was updated successfully, but these errors were encountered: