NestedType

Nested field type allows indexing array of objects as separate documents.

See: https://www.elastic.co/guide/en/elasticsearch/reference/current/nested.html

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun deserialize(v: Any, valueFactory: () -> V?): V

Deserializes field value from Elasticsearch.

Link copied to clipboard
open override fun deserializeTerm(v: Any): Nothing

Deserializes term value from Elasticsearch.

Link copied to clipboard
open override fun serialize(v: V): Map<String, Any?>

Serializes field value to Elasticsearch.

Link copied to clipboard
open override fun serializeTerm(v: Nothing): Nothing

Serializes term value to Elasticsearch.

Properties

Link copied to clipboard
open override val name: String

Name of Elasticsearch mapping type.

Link copied to clipboard
open override val termType: KClass<Nothing>

Term class is used inside FieldSet.getFieldByName method to check term type before casting.