We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94e4a94 commit b9da59cCopy full SHA for b9da59c
core/src/main/java/org/elasticsearch/search/aggregations/bucket/geogrid/ParsedGeoHashGrid.java
@@ -58,10 +58,7 @@ public static class ParsedBucket extends ParsedMultiBucketAggregation.ParsedBuck
58
59
@Override
60
public GeoPoint getKey() {
61
- if (geohashAsString != null) {
62
- return GeoPoint.fromGeohash(geohashAsString);
63
- }
64
- return null;
+ return GeoPoint.fromGeohash(geohashAsString);
65
}
66
67
0 commit comments