Elistix v1.0.1 API Reference
Modules
Provides a configuration base for the other modules
This module makes all the operations related to the indices in Elasticsearch
This module makes all the operations related to the queries in Elasticsearch
HTTPoison doesn’t know when Elasticsearch fails so it returns a tuple with :ok and the response, so you can never know when something happens in Elasticsearch before explode in your code. This module catch the responses with status code 400 or 404 and build a new response with the :error in the tuple