module

Elasticsearch::DSL

The main module, which can be included in your own class or namespace, to provide the DSL methods:

include Elasticsearch::DSL
definition = search(Queries::Match) {
  match {
    query "name", "david"
  }
}

definition.to_json
# => {"query":"match":{"name":"david"}}

Constants

VERSION = "0.1.0"

Nested types