Elastic4s DSL Examples and Reference
Last updated: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"
}