浏览代码

Add missing grid_agg to search_mvt rest-api-spec (#130906) (#131074)

Quentin Pradet 3 月之前
父节点
当前提交
ff30a91a4b
共有 1 个文件被更改,包括 9 次插入0 次删除
  1. 9 0
      rest-api-spec/src/main/resources/rest-api-spec/api/search_mvt.json

+ 9 - 0
rest-api-spec/src/main/resources/rest-api-spec/api/search_mvt.json

@@ -73,6 +73,15 @@
         "description":"Determines the geometry type for features in the aggs layer.",
         "default":"grid"
       },
+      "grid_agg":{
+        "type":"enum",
+        "options":[
+          "geotile",
+          "geohex"
+        ],
+        "description":"Aggregation used to create a grid for `field`.",
+        "default":"geotile"
+      },
       "size":{
         "type":"int",
         "description":"Maximum number of features to return in the hits layer. Accepts 0-10000.",