If not possible. Is there any other way to aggregate by several fields?
El martes, 17 de junio de 2014 15:11:26 UTC+2, Adrian Luna escribió:
>
> Ok, just realized something. The problem wasn't related to this. But in
> order to use the 1.2 version (which first expose this reverse_nested
> functionallity), something seem to change from the 1.1 version I was using
> before.
>
> Something I usually did before is aggregation by several fields using the
> same aggregation name in order to "merge" the results (which I must
> recognize, I have never seen documented). I mean:
>
> {
> "aggs":{
> "forms":[
> {"terms":{"field":"object_of_type_a.form"}},
> {"terms":{"field":"object_of_type_b.form"}}
> ]
> }
> }
>
> Such thing was working on previous versions, but not anymore?
>
> Thanks in advance
>
> El martes, 17 de junio de 2014 14:18:08 UTC+2, Adrian Luna escribió:
>>
>> I have an issue where my mapping includes an array of nested objects.
>> Let's imagine something simplified like this:
>>
>> ....
>>
>
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/7d5dce21-abbb-4fa9-b326-9d9e73da4097%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.