Range

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

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

See also

Constructors

Range
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: Double? = null)

Types

Relation
Link copied to clipboard
enum Relation : Enum<Range.Relation> , ToValue<String>

Functions

accept
Link copied to clipboard
open override fun accept(ctx: <ERROR CLASS>, compiler: SearchQueryCompiler)
children
Link copied to clipboard
open fun children(): Iterator<Expression<*>>?
clone
Link copied to clipboard
open override fun clone(): Range<T>
reduce
Link copied to clipboard
open override fun reduce(): QueryExpression?
visit
Link copied to clipboard
open override fun visit(ctx: <ERROR CLASS>, compiler: SearchQueryCompiler)

Properties

boost
Link copied to clipboard
val boost: Double? = null
field
Link copied to clipboard
val field: FieldOperations<T>
gt
Link copied to clipboard
val gt: T? = null
gte
Link copied to clipboard
val gte: T? = null
lt
Link copied to clipboard
val lt: T? = null
lte
Link copied to clipboard
val lte: T? = null
name
Link copied to clipboard
open override val name: String
relation
Link copied to clipboard
val relation: Range.Relation? = null