Method: Arelastic::Aggregations::Aggregation#nested

Defined in:
lib/arelastic/aggregations/aggregation.rb

#nested(path) ⇒ Object



20
21
22
# File 'lib/arelastic/aggregations/aggregation.rb', line 20

def nested(path)
  Arelastic::Aggregations::Nested.new(name, path, [self])
end