- 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
Score API
editScore API
editThe following specialized API is available in the Score context.
- See the Shared API for further API available in all contexts.
Static Methods
editThe following methods are directly callable without a class/instance qualifier. Note parameters denoted by a (*) are treated as read-only values.
- double cosineSimilarity(Object *, String *)
- double decayDateExp(String *, String *, String *, double *, ZonedDateTime)
- double decayDateGauss(String *, String *, String *, double *, ZonedDateTime)
- double decayDateLinear(String *, String *, String *, double *, ZonedDateTime)
- double decayGeoExp(String *, String *, String *, double *, GeoPoint)
- double decayGeoGauss(String *, String *, String *, double *, GeoPoint)
- double decayGeoLinear(String *, String *, String *, double *, GeoPoint)
- double decayNumericExp(double *, double *, double *, double *, double)
- double decayNumericGauss(double *, double *, double *, double *, double)
- double decayNumericLinear(double *, double *, double *, double *, double)
- double dotProduct(Object *, String *)
- double l1norm(Object *, String *)
- double l2norm(Object *, String *)
- double hamming(Object *, String *)
- double randomScore(int *)
- double randomScore(int *, String *)
- double saturation(double, double)
- double sigmoid(double, double, double)
Classes By Package
editThe following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.
org.elasticsearch.xpack.vectors.query
editWas this helpful?
Thank you for your feedback.