View Source API Reference exlasticsearch v2.2.3
Modules
A collection of elasticsearch DSL's to make development simple.
Elasticsearch aggregation building functions
Handles bulk request generation
Protocol for converting Ecto structs to ES-compatible maps. ExlasticSearch.Repo
uses
this internally to effect any conversion prior to communicating with elasticsearch itself
Base macro for generating elasticsearch modules. Is intended to be used in conjunction with a Ecto model (although that is not strictly necessary).
Wrapper for a models search result. Used for response parsing
Elasticsearch query building functions.
API executor for elasticsearch. The generate pattern is to define a ExlasticSearch.Model
on an ecto model, then call any of these functions to manage the model.
Base module for ES response parsing. Works off a few macros, schema/1
, field/1
, has_many/2
, has_one/2
Elasticsearch hits response structure
Elasticsearch record response structure. :_source
can contain a parsed
model result if properly specified
Elasticsearch Search response structure
Decorator for applying retry strategies to a function. Configure with
Retry Strategy implementation utilizing exponential backoffs
Behavior for retrying a 0-arity function according to some strategy
Default type inference implementation. If you desire to override it, simply do
Behaviour for inferring module types. A default implementation is available in ExlasticSearch.TypeInference.Base
Implementation of type infernce for builtin ecto types