ElasticsearchEx. MappingsCacher
(Elasticsearch v1.9.4)
View Source
Defines a GenServer to keep in cache the Elasticsearch mappings.
It accepts an optional option:
config :elasticsearch_ex, time_to_leave: :timer.minutes(30)When defined, it refreshes the mapping in cache.
Summary
Functions
Returns a specification to start this module under a supervisor.