View Source ElasticsearchEx.Serializer (Elasticsearch_ex v1.8.2)
Converts a document or source from Elixir data structures into data structures compatible with Elasticsearch.
An example is the convertion of Range
or Date.Range
into %{"gte" => first, "lte" => last}
.
Summary
Functions
Serialize a list of documents, a document or a document source.
Types
Represents the Elasticsearch mappings which is represented by a Map
with keys as String
.
@type value() :: Enumerable.t() | %{required(binary()) => any()}
Represents a list/stream of documents, a document, a document source or any values.