Term

data class Term<T>(val field: FieldOperations<T>, val term: T & Any, val boost: Float? = null) : QueryExpression

Returns documents that contains exact @paramterm in a @paramfield.

See also

Constructors

Link copied to clipboard
fun <T> Term(field: FieldOperations<T>, term: T & Any, boost: Float? = null)

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(): Term<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
open override val name: String
Link copied to clipboard
val term: T & Any