Issue with stats aggregation

2014-04-27 Thread chris Hahn
I figured out the problem while I was writing this post, but I wanted to share it with this group to see if this is expected behaviour. Using dynamic mapping, the first couple documents loaded had integer values: { "quantity" : 1 } {"quantity" : 2} The third document had a double value, but ela

Re: Sub-aggregations not working as expected

2014-04-11 Thread chris Hahn
aging-relations-inside-elasticsearch/ > > Best regards > Paweł Młynarczyk > > W dniu poniedziałek, 7 kwietnia 2014 02:16:38 UTC+2 użytkownik chris Hahn > napisał: >> >> Playing with elasticsearch for a project. >> This is sample data, every document will have a

Sub-aggregations not working as expected

2014-04-06 Thread chris Hahn
Playing with elasticsearch for a project. This is sample data, every document will have a list of ingredients, some of the ingredients may be used in different documents and in different quantities. I would like an aggregation that lists all ingredients for a search, and the stats of each ingre