module Elasticsearch
Defined in:
client.crdata_streams.cr
documents.cr
elasticsearch.cr
errors.cr
es.cr
ilm.cr
index_templates.cr
indices.cr
json_conversion.cr
mappings.cr
query.cr
serializable.cr
types.cr
Class Method Summary
- .aggregation(terms : NamedTuple, size : Int32 | Nil = nil)
- .aggregation(min : Query::Aggregations::Min)
- .aggregation(avg : Query::Aggregations::Avg)
- .aggregation(max : Query::Aggregations::Max)
- .aggregation(percentiles : Query::Aggregations::Percentiles)
- .aggregation(multi_terms : Query::Aggregations::MultiTerms)
- .aggregation(date_histogram : Query::Aggregations::DateHistogram, aggregations : Query::Aggregations | Nil = nil)
- .aggregations(**kwargs : Query::Aggregations::Aggregation)
- .avg(field : String)
- .bool(*, must = nil, filter = nil, should = nil, must_not = nil)
- .date_histogram(*, field, fixed_interval = nil, calendar_interval = nil, missing = nil)
- .field(field : String)
- .filter(*filters : Query::Filterable)
- .match(**matches : String)
- .match_phrase(**kwargs)
- .max(field : String)
- .min(field : String)
- .multi_terms(terms, size = nil)
- .must(filters : Enumerable(Query::Filterable))
- .must(*filters : Query::Filterable)
- .percentiles(field : String, percents : Array(String | Int | Float))
- .query(*, bool)
- .range(field : String, **kwargs)
- .term(field, value)
Class Method Detail
def self.aggregation(date_histogram : Query::Aggregations::DateHistogram, aggregations : Query::Aggregations | Nil = nil)
#