Hi, I am bglee.
GET myIndex/_search
{
"size":0,
"query":{
...
},
"aggs":{
"only_values_return_greater_than_10":{
"sum":{
"field":"only_values_return_greater_than_10"
}
}
}
}
In metrics aggregations, I want to return value only greater than 10.
I know that there is a field named 'min_doc_count' with a similar function in the term query.
Is there a way to ignore the aggregation return value in metrics in some conditions?