From ca24e773e3d60b18fd9ab8e8896b767761c91944 Mon Sep 17 00:00:00 2001 From: nreese Date: Fri, 30 Jun 2023 09:33:56 -0600 Subject: [PATCH] add geo_grid query type --- specification/_types/query_dsl/geo.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/specification/_types/query_dsl/geo.ts b/specification/_types/query_dsl/geo.ts index c981e2c08..d6246eaa3 100644 --- a/specification/_types/query_dsl/geo.ts +++ b/specification/_types/query_dsl/geo.ts @@ -56,6 +56,15 @@ export class GeoDistanceQuery validation_method?: GeoValidationMethod } +export class GeoGridQuery + extends QueryBase + implements AdditionalProperty +{ + geohash?: string; + geohex?: string; + geotile?: string; +} + export class GeoPolygonPoints { points: GeoLocation[] }