Elasticsearch client for Elixir
This a toy mini-project, which purpose is to play with Elixir to generate usable Elasticsearch client, using the official specification.
This is pre-alpha version.
If available in Hex, the package can be installed
by adding ex_es
to your list of dependencies in mix.exs
:
def deps do
[
{:ex_es, "~> 0.1.0"}
]
end
-
Get elastic/elasticsearch/.../rest-api-spec/api to repository directory.
-
Play with it :)
Note: those are dummy modules and fuctions so far.
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ex_es.
@doc
s are poorly formatted, and contain mostly function "params".- No
@spec
, no@typedoc
, no@type
definitions. - Not idiomatic, barely working :)
- Code is a mess, function APIs are inconsistent.
- No tests.