Class: Elasticsearch::DSL::Search::Aggregations::SignificantTerms

Inherits:
Object
  • Object
show all
Includes:
BaseAggregationComponent
Defined in:
lib/elasticsearch/dsl/search/aggregations/significant_terms.rb

Overview

A multi-bucket aggregation that returns interesting or unusual occurrences of terms in a set

Examples:


search do
  query do
    match :title do
      query 'fink'
    end
  end

  aggregation :interesting_terms do
    significant_terms do
      field :body
    end
  end
end

See Also:

Method Summary

Methods included from BaseAggregationComponent

included