Commit e350e1ff by Giordano Ricci Committed by GitHub

Elasticsearch: Increase maximum geohash aggregation precision to 12 (#27539)

parent a0beaa3b
...@@ -144,8 +144,8 @@ export class ElasticBucketAggCtrl { ...@@ -144,8 +144,8 @@ export class ElasticBucketAggCtrl {
break; break;
} }
case 'geohash_grid': { case 'geohash_grid': {
// limit precision to 7 // limit precision to 12
settings.precision = Math.max(Math.min(settings.precision, 7), 1); settings.precision = Math.max(Math.min(settings.precision, 12), 1);
settingsLinkText = 'Precision: ' + settings.precision; settingsLinkText = 'Precision: ' + settings.precision;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment