Class: OpenSearch::DSL::Search::Aggregations::Min

Inherits:
Object
  • Object
show all
Includes:
BaseComponent
Defined in:
lib/opensearch/dsl/search/aggregations/min.rb

Overview

A single-value metric aggregation which returns the minimum value from numeric values

Examples:


search do
  aggregation :min_clicks do
    min field: 'clicks'
  end
end

See Also:

Method Summary

Methods included from BaseComponent

included, #initialize