Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/painless/painless-api-reference/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
|Aggs Reduce | <<painless-api-reference-shared, Shared API>> |
|Analysis | <<painless-api-reference-shared, Shared API>> | <<painless-api-reference-analysis, Specialized API>>
|Bucket Aggregation | <<painless-api-reference-shared, Shared API>> |
|Field | <<painless-api-reference-shared, Shared API>> |
|Field | <<painless-api-reference-shared, Shared API>> | <<painless-api-reference-field, Specialized API>>
|Filter | <<painless-api-reference-shared, Shared API>> |
|Ingest | <<painless-api-reference-shared, Shared API>> | <<painless-api-reference-ingest, Specialized API>>
|Interval | <<painless-api-reference-shared, Shared API>> |
Expand All @@ -33,6 +33,7 @@

include::painless-api-reference-shared/index.asciidoc[]
include::painless-api-reference-analysis/index.asciidoc[]
include::painless-api-reference-field/index.asciidoc[]
include::painless-api-reference-ingest/index.asciidoc[]
include::painless-api-reference-moving-function/index.asciidoc[]
include::painless-api-reference-score/index.asciidoc[]
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The following specialized API is available in the Analysis context.

* See the <<painless-api-reference-shared, Shared API>> for further API available in all contexts.

==== Classes By Package
The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.


==== org.elasticsearch.analysis.common
<<painless-api-reference-analysis-org-elasticsearch-analysis-common, Expand details for org.elasticsearch.analysis.common>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[role="exclude",id="painless-api-reference-analysis-org-elasticsearch-analysis-common"]
=== Analysis API for package org.elasticsearch.analysis.common
See the <<painless-api-reference-analysis, Analysis API>> for a high-level overview of all packages.
See the <<painless-api-reference-analysis, Analysis API>> for a high-level overview of all packages and classes.

[[painless-api-reference-analysis-AnalysisPredicateScript-Token]]
==== AnalysisPredicateScript.Token
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// This file is auto-generated. Do not edit.

[[painless-api-reference-field]]
=== Field API

The following specialized API is available in the Field context.

* See the <<painless-api-reference-shared, Shared API>> for further API available in all contexts.

==== Static Methods
The following methods are directly callable without a class/instance qualifier. Note parameters denoted by a (*) are treated as read-only values.

* List domainSplit(String)
* List domainSplit(String, Map)

include::packages.asciidoc[]

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file is auto-generated. Do not edit.


Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The following specialized API is available in the Ingest context.

* See the <<painless-api-reference-shared, Shared API>> for further API available in all contexts.

==== Classes By Package
The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.


==== org.elasticsearch.ingest.common
<<painless-api-reference-ingest-org-elasticsearch-ingest-common, Expand details for org.elasticsearch.ingest.common>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[role="exclude",id="painless-api-reference-ingest-org-elasticsearch-ingest-common"]
=== Ingest API for package org.elasticsearch.ingest.common
See the <<painless-api-reference-ingest, Ingest API>> for a high-level overview of all packages.
See the <<painless-api-reference-ingest, Ingest API>> for a high-level overview of all packages and classes.

[[painless-api-reference-ingest-Processors]]
==== Processors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ The following specialized API is available in the Moving Function context.

* See the <<painless-api-reference-shared, Shared API>> for further API available in all contexts.

==== Classes By Package
The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.


==== org.elasticsearch.search.aggregations.pipeline
<<painless-api-reference-moving-function-org-elasticsearch-search-aggregations-pipeline, Expand details for org.elasticsearch.search.aggregations.pipeline>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[role="exclude",id="painless-api-reference-moving-function-org-elasticsearch-search-aggregations-pipeline"]
=== Moving Function API for package org.elasticsearch.search.aggregations.pipeline
See the <<painless-api-reference-moving-function, Moving Function API>> for a high-level overview of all packages.
See the <<painless-api-reference-moving-function, Moving Function API>> for a high-level overview of all packages and classes.

[[painless-api-reference-moving-function-MovingFunctions]]
==== MovingFunctions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,31 @@ The following specialized API is available in the Score context.

* See the <<painless-api-reference-shared, Shared API>> for further API available in all contexts.

==== Static Methods
The following methods are directly callable without a class/instance qualifier. Note parameters denoted by a (*) are treated as read-only values.

* double cosineSimilarity(List *, VectorScriptDocValues.DenseVectorScriptDocValues)
* double cosineSimilaritySparse(Map *, VectorScriptDocValues.SparseVectorScriptDocValues)
* double decayDateExp(String *, String *, String *, double *, JodaCompatibleZonedDateTime)
* double decayDateGauss(String *, String *, String *, double *, JodaCompatibleZonedDateTime)
* double decayDateLinear(String *, String *, String *, double *, JodaCompatibleZonedDateTime)
* 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(List, VectorScriptDocValues.DenseVectorScriptDocValues)
* double dotProductSparse(Map *, VectorScriptDocValues.SparseVectorScriptDocValues)
* double randomScore(int *)
* double randomScore(int *, String *)
* double saturation(double, double)
* double sigmoid(double, double, double)

==== Classes By Package
The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.


==== org.elasticsearch.index.query
<<painless-api-reference-score-org-elasticsearch-index-query, Expand details for org.elasticsearch.index.query>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[role="exclude",id="painless-api-reference-score-org-elasticsearch-index-query"]
=== Score API for package org.elasticsearch.index.query
See the <<painless-api-reference-score, Score API>> for a high-level overview of all packages.
See the <<painless-api-reference-score, Score API>> for a high-level overview of all packages and classes.

[[painless-api-reference-score-VectorScriptDocValues]]
==== VectorScriptDocValues
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@

The following API is available in all contexts.

==== Classes By Package
The following classes are available grouped by their respective packages. Click on a class to view details about the available methods and fields.


==== java.lang
<<painless-api-reference-shared-java-lang, Expand details for java.lang>>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[role="exclude",id="painless-api-reference-shared-java-lang"]
=== Shared API for package java.lang
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-Appendable]]
==== Appendable
Expand Down Expand Up @@ -1399,7 +1399,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-math"]
=== Shared API for package java.math
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-BigDecimal]]
==== BigDecimal
Expand Down Expand Up @@ -1557,7 +1557,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-text"]
=== Shared API for package java.text
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-Annotation]]
==== Annotation
Expand Down Expand Up @@ -2265,7 +2265,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-time"]
=== Shared API for package java.time
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-Clock]]
==== Clock
Expand Down Expand Up @@ -3078,7 +3078,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-time-chrono"]
=== Shared API for package java.time.chrono
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-AbstractChronology]]
==== AbstractChronology
Expand Down Expand Up @@ -3675,7 +3675,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-time-format"]
=== Shared API for package java.time.format
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-DateTimeFormatter]]
==== DateTimeFormatter
Expand Down Expand Up @@ -3874,7 +3874,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-time-temporal"]
=== Shared API for package java.time.temporal
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-ChronoField]]
==== ChronoField
Expand Down Expand Up @@ -4166,7 +4166,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-time-zone"]
=== Shared API for package java.time.zone
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-ZoneOffsetTransition]]
==== ZoneOffsetTransition
Expand Down Expand Up @@ -4265,7 +4265,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-util"]
=== Shared API for package java.util
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-AbstractCollection]]
==== AbstractCollection
Expand Down Expand Up @@ -7194,7 +7194,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-util-function"]
=== Shared API for package java.util.function
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-BiConsumer]]
==== BiConsumer
Expand Down Expand Up @@ -7582,7 +7582,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-util-regex"]
=== Shared API for package java.util.regex
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-Matcher]]
==== Matcher
Expand Down Expand Up @@ -7635,7 +7635,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-java-util-stream"]
=== Shared API for package java.util.stream
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-BaseStream]]
==== BaseStream
Expand Down Expand Up @@ -7957,7 +7957,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-apache-lucene-util"]
=== Shared API for package org.apache.lucene.util
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-BytesRef]]
==== BytesRef
Expand All @@ -7974,7 +7974,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-common-geo"]
=== Shared API for package org.elasticsearch.common.geo
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-GeoPoint]]
==== GeoPoint
Expand All @@ -7987,7 +7987,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-index-fielddata"]
=== Shared API for package org.elasticsearch.index.fielddata
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-ScriptDocValues-Booleans]]
==== ScriptDocValues.Booleans
Expand Down Expand Up @@ -8386,7 +8386,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-index-mapper"]
=== Shared API for package org.elasticsearch.index.mapper
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-IpFieldMapper-IpFieldType-IpScriptDocValues]]
==== IpFieldMapper.IpFieldType.IpScriptDocValues
Expand Down Expand Up @@ -8445,7 +8445,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-index-query"]
=== Shared API for package org.elasticsearch.index.query
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-IntervalFilterScript-Interval]]
==== IntervalFilterScript.Interval
Expand All @@ -8459,7 +8459,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-index-similarity"]
=== Shared API for package org.elasticsearch.index.similarity
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-ScriptedSimilarity-Doc]]
==== ScriptedSimilarity.Doc
Expand Down Expand Up @@ -8499,7 +8499,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-painless-api"]
=== Shared API for package org.elasticsearch.painless.api
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-Debug]]
==== Debug
Expand All @@ -8511,7 +8511,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-script"]
=== Shared API for package org.elasticsearch.script
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-JodaCompatibleZonedDateTime]]
==== JodaCompatibleZonedDateTime
Expand Down Expand Up @@ -8594,7 +8594,7 @@ See the <<painless-api-reference-shared, Shared API>> for a high-level overview

[role="exclude",id="painless-api-reference-shared-org-elasticsearch-search-lookup"]
=== Shared API for package org.elasticsearch.search.lookup
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages.
See the <<painless-api-reference-shared, Shared API>> for a high-level overview of all packages and classes.

[[painless-api-reference-shared-FieldLookup]]
==== FieldLookup
Expand Down
Loading