FunctionScore
data class FunctionScore(val query: QueryExpression? = null, val functions: List<FunctionScore.Function>, val boost: Float? = null, val scoreMode: FunctionScore.ScoreMode? = null, val boostMode: FunctionScore.BoostMode? = null, val minScore: Float? = null) : QueryExpression
Constructors
Link copied to clipboard
fun FunctionScore(query: QueryExpression? = null, functions: List<FunctionScore.Function>, boost: Float? = null, scoreMode: FunctionScore.ScoreMode? = null, boostMode: FunctionScore.BoostMode? = null, minScore: Float? = null)
Types
Link copied to clipboard
data class FieldValueFactor<T : Number>(val field: FieldOperations<T>, val factor: Float? = null, val missing: T? = null, val modifier: FunctionScore.FieldValueFactor.Modifier? = null, val filter: QueryExpression? = null) : FunctionScore.Function
Link copied to clipboard
Link copied to clipboard
data class RandomScore(val seed: Any? = null, val field: FieldOperations<*>? = null, val filter: QueryExpression? = null) : FunctionScore.Function
Link copied to clipboard
data class ScriptScore(val script: Script, val filter: QueryExpression? = null) : FunctionScore.Function
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard