FieldSet

abstract class FieldSet : FieldSetShortcuts, Named

Base class for any types which hold set of fields: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping.html

Constructors

FieldSet
Link copied to clipboard
fun FieldSet()

Types

Field
Link copied to clipboard
open class Field<V, T>(name: String?, type: FieldType<V, T>, params: Params)
JoinField
Link copied to clipboard
class JoinField(name: String?, type: JoinType, relations: Map<String, List<String>>, params: Params)

Functions

boolean
Link copied to clipboard
fun boolean(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Boolean, Boolean>
byte
Link copied to clipboard
fun byte(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Byte, Byte>
double
Link copied to clipboard
fun double(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Double, Double>
field
Link copied to clipboard
fun <V, T> field(type: FieldType<V, T>, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<V, T>
fun <V, T> field(name: String?, type: FieldType<V, T>, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<V, T>
float
Link copied to clipboard
fun float(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Float, Float>
get
Link copied to clipboard
operator fun get(name: String): MappingField<*>?
getAllFields
Link copied to clipboard
fun getAllFields(): Collection<MappingField<*>>
getFieldByName
Link copied to clipboard
inline fun <T> getFieldByName(name: String): MappingField<T>
getFieldName
Link copied to clipboard
abstract fun getFieldName(): String
getQualifiedFieldName
Link copied to clipboard
abstract fun getQualifiedFieldName(): String
int
Link copied to clipboard
fun int(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Int, Int>
join
Link copied to clipboard
fun join(name: String? = null, relations: Map<String, List<String>>, eagerGlobalOrdinals: Boolean? = null): FieldSet.JoinField
keyword
Link copied to clipboard
fun keyword(name: String? = null, normalizer: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<String, String>
long
Link copied to clipboard
fun long(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Long, Long>
short
Link copied to clipboard
fun short(name: String? = null, docValues: Boolean? = null, index: Boolean? = null, store: Boolean? = null, params: Params? = null): FieldSet.Field<Short, Short>
text
Link copied to clipboard
fun text(name: String? = null, index: Boolean? = null, indexOptions: String? = null, store: Boolean? = null, norms: Boolean? = null, boost: Double? = null, analyzer: String? = null, searchAnalyzer: String? = null, params: Params? = null): FieldSet.Field<String, String>
toValue
Link copied to clipboard
open override fun toValue(): String

Inheritors

SubFields
Link copied to clipboard
BaseDocument
Link copied to clipboard