Package | Description |
---|---|
org.elasticsearch.search.aggregations | |
org.elasticsearch.search.aggregations.bucket.geogrid |
Modifier and Type | Method and Description |
---|---|
static GeoHashGridBuilder |
AggregationBuilders.geohashGrid(String name)
Create a new
GeoHashGrid aggregation with the given name. |
Modifier and Type | Method and Description |
---|---|
GeoHashGridBuilder |
GeoHashGridBuilder.field(String field)
Set the field to use to get geo points.
|
GeoHashGridBuilder |
GeoHashGridBuilder.precision(int precision)
Set the geohash precision to use for this aggregation.
|
GeoHashGridBuilder |
GeoHashGridBuilder.shardSize(int shardSize)
Expert: Set the number of buckets to get on each shard to improve
accuracy.
|
GeoHashGridBuilder |
GeoHashGridBuilder.size(int requiredSize)
Set the number of buckets to return.
|
Copyright © 2009–2015. All rights reserved.