Range

data class Range<T>(val field: FieldOperations<T>, val gt: T? = null, val gte: T? = null, val lt: T? = null, val lte: T? = null, val relation: Range.Relation? = null, val boost: Float? = null) : QueryExpression

Returns documents that contain @paramfield values within a range specified by parameters: @paramgt, @paramgte, @paramlt, @paramlte.

See also

Constructors

Link copied to clipboard
fun <T> Range(field: FieldOperations<T>, gt: T? = null, gte: T? = null, lt: T? = null, lte: T? = null, relation: Range.Relation? = null, boost: Float? = null)

Types

Link copied to clipboard

Functions

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

Properties

Link copied to clipboard
val boost: Float? = null
Link copied to clipboard
Link copied to clipboard
val gt: T? = null
Link copied to clipboard
val gte: T? = null
Link copied to clipboard
val lt: T? = null
Link copied to clipboard
val lte: T? = null
Link copied to clipboard
open override val name: String
Link copied to clipboard