Steroids [WIP]

An elasticsearch query body builder adapted from Bodybuilder. Easily build complex queries for elasticsearch with a simple, predictable api.

Usage

Steroids.QueryBuilder.query(:term, ["foo", "bar"])
|> Steroids.query(:term, "baz")
|> Steroids.build()

Installation

If available in Hex, the package can be installed by adding steroids to your list of dependencies in mix.exs:

def deps do
  [{:steroids, "~> 0.1.0"}]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/steroids.