2018-04-17 15:16:08 -04:00
|
|
|
[[painless-api-reference]]
|
|
|
|
== Painless API Reference
|
2017-05-12 19:17:06 -04:00
|
|
|
|
2020-06-16 14:43:22 -04:00
|
|
|
Painless has a strict list of allowed methods and classes per context to
|
|
|
|
ensure all Painless scripts are secure. Most of these methods are
|
2019-04-23 12:10:47 -04:00
|
|
|
exposed directly from the Java Runtime Environment (JRE) while others
|
|
|
|
are part of Elasticsearch or Painless itself. Below is a list of the available
|
|
|
|
APIs per context. The shared API is available to all contexts, while the
|
|
|
|
specialized API available differs between contexts.
|
2017-05-12 19:17:06 -04:00
|
|
|
|
|
|
|
include::painless-api-reference/index.asciidoc[]
|