View Source ExlasticSearch.Aggregation (exlasticsearch v2.3.0)
Elasticsearch aggregation building functions.
Summary
Functions
A composite aggregation.
The source for a composite aggregation, eg composite_source(:age, :terms, field: :age)
.
Includes a given aggregation within the aggregation with name name
.
Create a new aggregation specification.
Convert to the es representation of the aggregation.
Bucket a query by a given term
Return the top results for a query or aggregation scope.
Types
Functions
A composite aggregation.
The source for a composite aggregation, eg composite_source(:age, :terms, field: :age)
.
Includes a given aggregation within the aggregation with name name
.
Create a new aggregation specification.
Convert to the es representation of the aggregation.
Bucket a query by a given term
Return the top results for a query or aggregation scope.