@ExperimentalApi @SearchPrimitive
FunctionScoreQuery.See: Description
| Interface | Description |
|---|---|
| ComposableScoreFunction |
Marker interface for a function that can be composed by e.g.
|
| FieldValueSource |
Specifies a numerical field from which data will be drawn for score function.
|
| ScoreFunction |
Marker interface for a function providing score for
FunctionScoreQuery. |
| Class | Description |
|---|---|
| AverageScoreFunction |
Scores of component functions are averaged according to
weights. |
| AverageScoreFunction.Builder | |
| DecayParameters |
Parameters for decay function.
|
| DecayParameters.Builder | |
| DoubleFieldValueSource |
Represents field its value is of type
double. |
| ExpDecayFunction |
Exponential decay function applied to a field value.
|
| FieldValueFactorFunction | |
| FloatFieldValueSource |
Represents field its value is of type
float. |
| GaussDecayFunction |
Gaussian decay function applied to a field value.
|
| IntFieldValueSource |
Represents field its value is of type
int. |
| LinearDecayFunction |
Linear decay function applied to a field value.
|
| LongFieldValueSource |
Represents field its value is of type
long. |
| MaxScoreFunction |
Maximum score of component functions is used.
|
| MinScoreFunction |
Minimum score of component functions is used.
|
| MultiplyScoreFunction |
Scores of component functions are multiplied.
|
| StaircaseFunction |
Staircase decay function applied to a field value.
|
| SumScoreFunction |
Scores of component functions are summed.
|
| Enum | Description |
|---|---|
| FieldValueFactorFunction.Modifier |
The Type class encapsulates the modification types that can be applied
to the score/value product.
|
FunctionScoreQuery. It was
designed to work when the search engine is remote. Classes encapsulate just enough information for mapping
FunctionScoreQuery to a concrete search engine implementation.
The inspiration has been taken from Elasticsearch function score query.Copyright © 2003–2020 Atlassian. All rights reserved.