See the "global" aggregation for how you might derive an unfiltered metric
for use as your "background" stats.
On Friday, February 13, 2015 at 9:24:10 PM UTC, Darshat Shah wrote:
Hi,
The significant_term aggregation compares occurance of a term in
foreground population vs. background population. Is there a way to do this
for numeric fields?The scenario is there is a set of documents matching a filter. The average
value of a field in those documents will be quite different from the
average value of the field over all documents.Document Type =
{
int filter
int metric
string foo
}We want to find the foo values in documents where the average value of
metric in the documents matching filter is differentiated from the
average value over the whole set.Thanks
Darshat
--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/484e42dd-a2f4-40b7-b2df-ad41b87c5e68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.