Hi, Is there a way to achieve this with current aggregations in 1.0.0? We are trying to calculate a simple average across multiple fields in the document. We tried the workaround with naming the aggregates the same, and while it worked in command line through curl, it does not work in the javascript client since it combines 3 properties into one (uses the latest one).
Is there a way to give the avg aggregate an array of fields? Or maybe a way to achieve this through scripts? Any direction would be great, Thank you, -- View this message in context: http://elasticsearch-users.115913.n3.nabble.com/Statistical-facet-on-multiple-fields-tp1676993p4053662.html Sent from the ElasticSearch Users mailing list archive at Nabble.com. -- 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/1396914563200-4053662.post%40n3.nabble.com. For more options, visit https://groups.google.com/d/optout.
