标签: elasticsearch elasticsearch-aggregation
架构类型
{ "bookings": [ { "name": "Alice" . . }, { "name": "Bob" . . }, { "name": "Alice" . . } ] }
当我对“ bookings.name”进行汇总查询时,对于给定文档,它应该将“ Alice”计数为两次,而不是一次。我该怎么办?