- Painless Scripting Language: other versions:
- Painless Guide
- Painless Language Specification
- Painless contexts
- Context example data
- Runtime fields context
- Ingest processor context
- Update context
- Update by query context
- Reindex context
- Sort context
- Similarity context
- Weight context
- Score context
- Field context
- Filter context
- Minimum should match context
- Metric aggregation initialization context
- Metric aggregation map context
- Metric aggregation combine context
- Metric aggregation reduce context
- Bucket script aggregation context
- Bucket selector aggregation context
- Analysis Predicate Context
- Watcher condition context
- Watcher transform context
- Painless API Reference
- Shared API
- Aggregation Selector API
- Aggs API
- Aggs Combine API
- Aggs Init API
- Aggs Map API
- Aggs Reduce API
- Analysis API
- Bucket Aggregation API
- Field API
- Filter API
- Ingest API
- Interval API
- Moving Function API
- Number Sort API
- Painless Test API
- Processor Conditional API
- Score API
- Script Heuristic API
- Similarity API
- Similarity Weight API
- String Sort API
- Template API
- Terms Set API
- Update API
- Watcher Condition API
- Watcher Transform API
- Xpack Template API
Painless API Reference
editPainless API Reference
editPainless has a strict list of allowed 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.
Aggregation Selector |
||
Aggs |
||
Aggs Combine |
||
Aggs Init |
||
Aggs Map |
||
Aggs Reduce |
||
Analysis |
||
Bucket Aggregation |
||
Field |
||
Filter |
||
Ingest |
||
Interval |
||
Moving Function |
||
Number Sort |
||
Painless Test |
||
Processor Conditional |
||
Score |
||
Script Heuristic |
||
Similarity |
||
Similarity Weight |
||
String Sort |
||
Template |
||
Terms Set |
||
Update |
||
Watcher Condition |
||
Watcher Transform |
||
Xpack Template |