Hi All,
Could you please help me on how to convert below dsl to java api using aggregationbuilders,
{
"aggs": {
"status_aggr": {
"terms": {
"field": "status",
"size": 15,
"order": {
"_count": "desc"
}
}
},
"status_Not_Available": {
"missing": {
"field": "status"
}
},
"status_Available": {
"value_count": {
"field": "status"
}
}
}
}
Thanks,
Prasad G