ESClient v1.0.0 ESClient.Config View Source
A helper module to retrieve configuration values and defaults for the client.
Link to this section Summary
Functions
Builds a new config.
Link to this section Types
Link to this section Functions
Builds a new config.
Options
:base_url- The URL of the Elasticsearch endpoint. Defaults tohttp://localhost:9200.:driver- The driver to use to transfer data from and to Elasticsearch. Defaults toESClient.Drivers.HTTPoison.:json_keys- Determines how to convert keys in decoded JSON objects. Possible values are:atoms,:atoms!andstrings(default). Note that the JSON library has to support these options.:json_library- The JSON library that encodes request data and decodes response data. Defaults toJason.:timeout- The time to wait before aborting a request. Can be a non-negative integer or:infinity. Defaults to 15000 (milliseconds).