OpenSearch/x-pack/plugin
Zachary Tong 6ba144ae31
Add WeightedAvg metric aggregation (#31037)
Adds a new single-value metrics aggregation that computes the weighted 
average of numeric values that are extracted from the aggregated 
documents. These values can be extracted from specific numeric
fields in the documents.

When calculating a regular average, each datapoint has an equal "weight"; it
contributes equally to the final value.  In contrast, weighted averages
scale each datapoint differently.  The amount that each datapoint contributes 
to the final value is extracted from the document, or provided by a script.

As a formula, a weighted average is the `∑(value * weight) / ∑(weight)`

A regular average can be thought of as a weighted average where every value has
an implicit weight of `1`.

Closes #15731
2018-07-23 18:33:15 -04:00
..
core Switch x-pack:core to new style Requests (#32252) 2018-07-23 14:07:18 -04:00
deprecation Migrate x-pack-elasticsearch source to elasticsearch 2018-04-20 15:29:54 -07:00
graph Core: Combine doExecute methods in TransportAction (#31517) 2018-06-22 15:03:01 -07:00
logstash Remove all unused imports and fix CRLF (#31207) 2018-06-11 15:12:12 +02:00
ml Remove unnecessary warning supressions (#32250) 2018-07-23 11:31:04 +02:00
monitoring Switch monitoring to new style Requests (#32255) 2018-07-23 16:50:15 -04:00
rollup Add WeightedAvg metric aggregation (#31037) 2018-07-23 18:33:15 -04:00
security Silence SSL reload test that fails on JDK 11 2018-07-23 14:52:56 -04:00
sql Dependencies: Upgrade to joda time 2.10 (#32160) 2018-07-20 10:18:38 +02:00
src/test Remove unnecessary warning supressions (#32250) 2018-07-23 11:31:04 +02:00
upgrade Remove deprecation warnings to prepare for Gradle 5 (sourceSets.main.output.classesDirs) (#30389) 2018-06-28 15:14:34 +03:00
watcher Rest HL client: Add put watch action (#32026) 2018-07-19 10:40:54 +02:00
build.gradle Revert "Introduce a Hashing Processor (#31087)" (#32178) 2018-07-18 16:44:05 -07:00