MetaFields

Metadata fields: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html

Constructors

Link copied to clipboard

Types

Link copied to clipboard
abstract class BaseMetaField<V, B : MappingField<V>>(name: String, type: FieldType<V, V>, params: Params = Params(), boundFieldFactory: (String, Params, MetaFields) -> B) : FieldSet.Field<V, V>
Link copied to clipboard
Link copied to clipboard
class BoundRoutingField(name: String, params: Params, parent: MetaFields) : BoundField<String, String>
Link copied to clipboard
class BoundSizeField(name: String, params: Params, parent: MetaFields) : BoundField<Long, Long>
Link copied to clipboard
class BoundSourceField(name: String, params: Params, parent: MetaFields) : BoundField<String, String>
Link copied to clipboard
open class MetaField<V>(name: String, type: FieldType<V, V>, params: Params = Params()) : MetaFields.BaseMetaField<V, BoundField<V, V>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class SourceField(enabled: Boolean? = null, includes: List<String>? = null, excludes: List<String>? = null) : MetaFields.BaseMetaField<String, MetaFields.BoundSourceField>

Functions

Link copied to clipboard
operator fun get(name: String): MappingField<*>?
Link copied to clipboard
Link copied to clipboard
inline fun <T> getFieldByName(name: String): MappingField<T>
Link copied to clipboard
open override fun getFieldName(): String
Link copied to clipboard
open override fun getQualifiedFieldName(): String
Link copied to clipboard
fun <T : SubDocument> nested(factory: (DocSourceField) -> T, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
fun <T : SubDocument> nested(name: String?, factory: (DocSourceField) -> T, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Link copied to clipboard
fun <T : SubDocument> obj(factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
fun <T : SubDocument> obj(name: String?, factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Link copied to clipboard
fun <T : SubDocument> object(factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
fun <T : SubDocument> object(name: String?, factory: (DocSourceField) -> T, enabled: Boolean? = null, dynamic: Dynamic? = null, params: Params = Params()): SubDocument.UnboundSubDocument<T>
Link copied to clipboard
Link copied to clipboard
open override fun toValue(): String

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard