Can I use the aggregation with 'objetc' field?

I know that I can use aggreation with keyword type. But I wanna try to deal with some 'object' type in aggregation way. pls follow below:

2020-10-13 16-38-05 的屏幕截图

For this 'ddd' index, I build a 'human' object, then I will insert some 'object' like the person1. person2,person3.... person* are also belong to object type. Then I need to analyse every person* 's datas like 'name' and 'age'. ps: Every person object has 'name' and 'age' fields.

How can I use aggregation with 'person*' ?
ps: NOT person1.name.keyword, person2.age.keyword...
And I have to use person* as 'key' while 'name' and 'age' as 'value', person* are not allowed to be the same level with 'name' and 'age'... cause my boss demanded.

Could someone can help me or explain to me ? I checked the documents and found that the aggregation is not

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