class Aggregations::Buckets::NestedAggregationBuilder
Elasticsearch Nested Aggregation
Public Class Methods
new(name:, path: @name = name.intern)
click to toggle source
@param [String] name : Aggregation name @param [String] path
# File lib/aggregations/buckets/nested_aggregation_builder.rb, line 12 def initialize name:, path: @name = name.intern @type = :nested @path = path @query = { @name => { @type => { :path => path } } } end
Public Instance Methods
path_expr()
click to toggle source
@return [String]
# File lib/aggregations/buckets/nested_aggregation_builder.rb, line 26 def path_expr @path end