deserialize

open override fun deserialize(v: Any, valueFactory: () -> Double?): Double

Deserializes field value from Elasticsearch.

Parameters

v

is a value from Elasticsearch response.

valueFactory

is a function that produces an instance of V. Required for ObjectType.deserialize to create a document source.