Files
elasticsearch-js/docs/reference/api/QueryDslFunctionScoreContainer.md
2025-05-28 10:02:30 -05:00

1.6 KiB
Raw Permalink Blame History

QueryDslFunctionScoreContainer [interface-QueryDslFunctionScoreContainer]

Name Type Description
exp QueryDslDecayFunction Function that scores a document with a exponential decay, depending on the distance of a numeric field value of the document from an origin.
field_value_factor QueryDslFieldValueFactorScoreFunction Function allows you to use a field from a document to influence the score. It’s similar to using the script_score function, however, it avoids the overhead of scripting.
filter QueryDslQueryContainer  
gauss QueryDslDecayFunction Function that scores a document with a normal decay, depending on the distance of a numeric field value of the document from an origin.
linear QueryDslDecayFunction Function that scores a document with a linear decay, depending on the distance of a numeric field value of the document from an origin.
random_score QueryDslRandomScoreFunction Generates scores that are uniformly distributed from 0 up to but not including 1. In case you want scores to be reproducible, it is possible to provide a seed and field.
script_score QueryDslScriptScoreFunction Enables you to wrap another query and customize the scoring of it optionally with a computation derived from other numeric field values in the doc using a script expression.
weight double