Elastic4s DSL Examples and Reference
Source

Elastic4s DSL Examples and Reference

Last updated:

WIP ALERT - THIS IS A WORK IN PROGRESS

Some examples on how to use Elastic4s to talk to an elasticsearch server.

Aggregations

Performing an aggregation on a query:

search in "my-index" query "*" aggs {
    aggregation terms "count_by_date_agg" field "name"
}

Dialogue & Discussion