We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4012208 commit 7b17df3Copy full SHA for 7b17df3
docs/reference/aggregations/metrics/scripted-metric-aggregation.asciidoc
@@ -9,7 +9,9 @@ A metric aggregation that executes using scripts to provide a metric output.
9
WARNING: `scripted_metric` is not available in {serverless-full}.
10
11
WARNING: Using scripts can result in slower search speeds. See
12
-<<scripts-and-search-speed>>.
+<<scripts-and-search-speed>>. When using a scripted metric aggregation, its intermediate state is serialized
13
+into an in-memory byte array for transmission to other nodes during the aggregation process.
14
+Consequently, a complex scripted metric aggregation may also encounter the 2GB limitation imposed on Java arrays.
15
16
Example:
17
0 commit comments