OpenSearch/docs/java-api/aggregations/metrics
Jonathan Little 8e4768890a Migrate scripted metric aggregation scripts to ScriptContext design (#30111)
* Migrate scripted metric aggregation scripts to ScriptContext design #29328

* Rename new script context container class and add clarifying comments to remaining references to params._agg(s)

* Misc cleanup: make mock metric agg script inner classes static

* Move _score to an accessor rather than an arg for scripted metric agg scripts

This causes the score to be evaluated only when it's used.

* Documentation changes for params._agg -> agg

* Migration doc addition for scripted metric aggs _agg object change

* Rename "agg" Scripted Metric Aggregation script context variable to "state"

* Rename a private base class from ...Agg to ...State that I missed in my last commit

* Clean up imports after merge
2018-06-25 12:01:33 +01:00
..
avg-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
cardinality-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
extendedstats-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
geobounds-aggregation.asciidoc Modifies the JavaAPI docs related to AggregationBuilder 2018-01-11 12:59:30 +01:00
max-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
min-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
percentile-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
percentile-rank-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
scripted-metric-aggregation.asciidoc Migrate scripted metric aggregation scripts to ScriptContext design (#30111) 2018-06-25 12:01:33 +01:00
stats-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
sum-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00
tophits-aggregation.asciidoc updated Java API docs with the changes due to aggregator refactoring 2016-02-15 10:34:29 +00:00
valuecount-aggregation.asciidoc Update Java documentation for 5.0 2016-11-28 17:33:40 +01:00