OpenSearch/docs/painless/painless-api-reference.asciidoc
Jack Conradson a74ba7d5ba Task to generate Painless API's per context (#41233)
This adds a gradle task called generateContextDoc in the Painless module. The 
task will start a cluster, issue commands against the context rest api for 
Painless, and generate documentation for each API per context. Each context 
has a first page of classes sorted by package first and class name second, 
along with a page per package with each classes' constructors, methods, and 
fields. A link is generated for each constructor, method, and field to a JavaDoc 
page when possible.
2019-04-23 11:28:27 -07:00

12 lines
515 B
Plaintext

[[painless-api-reference]]
== Painless API Reference
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.
include::painless-api-reference/index.asciidoc[]