Class: Elasticsearch::DSL::Search::Aggregations::GeohashGrid

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

Overview

A multi-bucket aggregation which will return document counts for geohash grid cells

See the integration test for a full example.

Examples:


search do
  aggregation :venue_distributions do
    geohash_grid do
      field     :location
      precision 5
    end
  end
end

See Also:

Method Summary

Methods included from BaseAggregationComponent

included