View Source ExlasticSearch.Indexable protocol (exlasticsearch v2.3.0)
Protocol for converting Ecto structs to ES-compatible maps.
ExlasticSearch.Repo
uses this internally to effect any conversion prior to communicating with Elasticsearch itself.
Summary
Functions
Properties map to be inserted into ES.
Properties map to be inserted into ES.
ES record id.
Any preloads needed to call document/2
.
Any preloads needed to call document/2
.
Types
@type t() :: term()
All the types that implement this protocol.
Functions
Properties map to be inserted into ES.
Properties map to be inserted into ES.
ES record id.
Any preloads needed to call document/2
.
Any preloads needed to call document/2
.