MappingField

Represents field of any type in an Elasticsearch document. See FieldSet.getAllFields and FieldSet.get methods.

Functions

Link copied to clipboard
open fun asc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
Link copied to clipboard
open fun desc(mode: Sort.Mode? = null, numericType: Sort.NumericType? = null, missing: Sort.Missing? = null, unmappedType: FieldType<*, *>? = null, nested: Sort.Nested? = null): Sort
Link copied to clipboard
open fun deserializeTerm(v: Any): T
Link copied to clipboard
open infix fun eq(term: T?): QueryExpression
open fun eq(term: T?, boost: Float? = null): QueryExpression
Link copied to clipboard
open fun format(format: String? = null): FieldFormat
Link copied to clipboard
abstract fun getFieldName(): String
Link copied to clipboard
abstract fun getFieldType(): FieldType<*, T>
Link copied to clipboard
abstract fun getMappingParams(): Params
Link copied to clipboard
Link copied to clipboard
open infix fun gt(other: T?): Range<T>
Link copied to clipboard
open infix fun gte(other: T?): Range<T>
Link copied to clipboard
open infix fun lt(other: T?): Range<T>
Link copied to clipboard
open infix fun lte(other: T?): Range<T>
Link copied to clipboard
open infix fun ne(term: T?): QueryExpression
open fun ne(term: T?, boost: Float? = null): QueryExpression
Link copied to clipboard
open fun oneOf(vararg terms: T & Any): QueryExpression
open infix fun oneOf(terms: List<T & Any>): QueryExpression
Link copied to clipboard
open fun range(gt: T? = null, gte: T? = null, lt: T? = null, lte: T? = null, boost: Float? = null): Range<T>
Link copied to clipboard
open fun serializeTerm(v: T & Any): Any
Link copied to clipboard
open override fun toValue(): String

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard

A shortcut to get boosted field.

Link copied to clipboard