class OpenSearch::DSL::Search::Aggregations::Global
Defines a single bucket of all the documents matching a query
@example
search do aggregation :all_documents do global do aggregation :avg_clicks do avg field: 'clicks' end end end end
Defines a single bucket of all the documents matching a query
@example
search do aggregation :all_documents do global do aggregation :avg_clicks do avg field: 'clicks' end end end end