Class: Arelastic::Aggregations::Missing

Inherits:
Bucket show all
Defined in:
lib/arelastic/aggregations/missing.rb

Instance Attribute Summary

Attributes inherited from Bucket

#aggs

Attributes inherited from Aggregation

#meta, #name, #options

Instance Method Summary collapse

Methods inherited from Bucket

#initialize

Methods inherited from Aggregation

#as_elastic, #initialize, #nested, #reverse_nested

Methods inherited from Nodes::Node

#==, #convert_to_elastic, #hash, #read_option!

Methods included from Arelastic::Arities::Binary

#binary

Methods included from Arelastic::Arities::Polyadic

#polyadic

Methods included from Arelastic::Arities::Unary

#unary

Constructor Details

This class inherits a constructor from Arelastic::Aggregations::Bucket

Instance Method Details

#as_elastic_aggregationObject



4
5
6
# File 'lib/arelastic/aggregations/missing.rb', line 4

def as_elastic_aggregation
  {'missing' => options}.merge(super)
end