Hi,
I've also experimented with nested types using dynamic templates. 
Interesting (empty!) aggregation results!
Gist: https://gist.github.com/dazraf/9937198

Would be grateful if anyone can shed some light on this please?

Thank you.

On Wednesday, 2 April 2014 16:05:00 UTC+1, dazraf wrote:
>
> Hi,
>
> Gist: https://gist.github.com/dazraf/9935814
>
> Basically, I'd like to be able to aggregate a field of an array of 
> observations, grouped by an ancestor/parent id. 
> So for example (see gist): Aggregate the timings per contestant across a 
> set of contests.
>
> I realise that the data can be structured differently - effectively 
> flattened to a document per contest-contestant-contest. 
> However, I don't have the luxury of doing this in the real-world case. 
>
> Any help much appreciated.
>
> Thank you.
>

-- 
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/2f780e18-66ea-4bee-bded-5b73632b532c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to