2018-04-18 03:16:08 +08:00
|
|
|
[[painless-api-reference]]
|
|
|
|
== Painless API Reference
|
2017-05-13 07:17:06 +08:00
|
|
|
|
2019-04-24 00:10:47 +08:00
|
|
|
Painless has a strict whitelist for methods and classes per context to
|
|
|
|
ensure all painless scripts are secure. Most of these methods are
|
|
|
|
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-13 07:17:06 +08:00
|
|
|
|
|
|
|
include::painless-api-reference/index.asciidoc[]
|