An elasticsearch query body builder adapted from [Bodybuilder](https://github.com/danpaz/bodybuilder).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
lib
test
.editorconfig
.gitignore
LICENSE
README.md
mix.exs
mix.lock
travis.tml

README.md

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.