Multi - term aggregation with Flat field and nested aggregation

Hi Guys,
I just need a multi-term aggregation that has two fields "field1" and "nestedField"

doc structure -

{
field1:"",
field:{
nestedField:""
}
}

But don't know how to construct a query, need your help

Thanks in Advance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.