matthuhiggins/arelastic

View on GitHub
lib/arelastic/aggregations/terms.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Arelastic
  module Aggregations
    class Terms < Arelastic::Aggregations::Bucket
      def as_elastic_aggregation
        {'terms' => options}.merge(super)
      end
    end
  end
end