RandomScore

data class RandomScore(val seed: Any? = null, val field: FieldOperations<*>? = null, val filter: QueryExpression? = null) : FunctionScore.Function

Constructors

Link copied to clipboard
fun RandomScore(seed: Any? = null, field: FieldOperations<*>? = null, filter: QueryExpression? = null)

Functions

Link copied to clipboard
open override fun accept(ctx: Serializer.ObjectCtx, compiler: BaseSearchQueryCompiler)
Link copied to clipboard
open override fun children(): Iterator<Expression<*>>?
Link copied to clipboard
open override fun clone(): FunctionScore.RandomScore
Link copied to clipboard
open override fun reduce(): FunctionScore.Function
Link copied to clipboard
open override fun rewrite(newNode: QueryExpressionNode<*>): FunctionScore.Function

Properties

Link copied to clipboard
val field: FieldOperations<*>? = null
Link copied to clipboard
open override val filter: QueryExpression? = null
Link copied to clipboard
val seed: Any? = null