OpenSearch/docs/reference/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 Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
cardinality-aggregation.asciidoc [Docs] Fix typo in cardinality-aggregation.asciidoc (#30434) 2018-05-08 16:12:36 +02:00
extendedstats-aggregation.asciidoc Docs: Remove remaining references to file and native scripts (#26580) 2017-09-11 11:39:29 -07:00
geobounds-aggregation.asciidoc CONSOLEify geo aggregation docs 2017-03-30 21:28:52 -04:00
geocentroid-aggregation.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
max-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
min-aggregation.asciidoc [Docs] Fix typo in Min Aggregation reference (#30899) 2018-05-31 15:05:03 +02:00
percentile-aggregation.asciidoc Upgrade t-digest to 3.2 (#28295) (#28305) 2018-02-15 08:23:20 +00:00
percentile-rank-aggregation.asciidoc Deprecate filtering on `_type`. (#29468) 2018-04-13 09:07:51 +02: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 Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
sum-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00
tophits-aggregation.asciidoc top_hits doc example description update (#30676) 2018-05-17 15:21:25 +01:00
valuecount-aggregation.asciidoc Scripting: Change keys for inline/stored scripts to source/id (#25127) 2017-06-09 08:29:25 -07:00