MetaFields
Metadata fields: https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-fields.html
Constructors
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
class BoundFieldNamesField(name: String, params: Params, parent: MetaFields) : BoundField<String, String>
Link copied to clipboard
class BoundRoutingField(name: String, params: Params, parent: MetaFields) : BoundField<String, String>
Link copied to clipboard
Link copied to clipboard
class BoundSourceField(name: String, params: Params, parent: MetaFields) : BoundField<String, String>
Link copied to clipboard
class FieldNamesField(enabled: Boolean? = null) : MetaFields.BaseMetaField<String, MetaFields.BoundFieldNamesField>
Link copied to clipboard
class RoutingField(val required: Boolean? = null) : MetaFields.BaseMetaField<String, MetaFields.BoundRoutingField>
Link copied to clipboard
class SizeField(enabled: Boolean? = null) : MetaFields.BaseMetaField<Long, MetaFields.BoundSizeField>
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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>