From 78785776f04791e080023f21ea6430a224ca3097 Mon Sep 17 00:00:00 2001 From: James Rodewig Date: Thu, 17 Mar 2022 16:34:48 -0400 Subject: [PATCH] [DOCS] Fix Vector tiles search docs for features.id (#85067) (#85079) Removes the `features.id` property from the response body. This property was actually generated by the tool used to decode the mvt file to JSON. (cherry picked from commit a780558e4c1812d324c759d1f230576f6413e3bf) # Conflicts: # docs/reference/search/search-vector-tile-api.asciidoc Co-authored-by: Ignacio Vera --- .../search/search-vector-tile-api.asciidoc | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/docs/reference/search/search-vector-tile-api.asciidoc b/docs/reference/search/search-vector-tile-api.asciidoc index be7710c749879..ea2966802cc1f 100644 --- a/docs/reference/search/search-vector-tile-api.asciidoc +++ b/docs/reference/search/search-vector-tile-api.asciidoc @@ -380,11 +380,6 @@ value that matches the `geo_bounding_box` query. ``:: Field value. Only returned for fields in the `fields` parameter. ====== -// tag::feature-id[] -`id`:: -(integer) Unique ID for the feature within the layer. -// end::feature-id[] - // tag::feature-type[] `type`:: (integer) Identifier for the feature's geometry type. Values are: @@ -432,8 +427,6 @@ include::search-vector-tile-api.asciidoc[tag=geometry] Sub-aggregation results for the cell. Only returned for sub-aggregations in the `aggs` parameter. ====== -include::search-vector-tile-api.asciidoc[tag=feature-id] - include::search-vector-tile-api.asciidoc[tag=feature-type] ===== ==== @@ -530,8 +523,6 @@ partial or empty. (integer) Milliseconds it took {es} to run the search. See the search API's <> response property. ====== -include::search-vector-tile-api.asciidoc[tag=feature-id] - include::search-vector-tile-api.asciidoc[tag=feature-type] ===== ==== @@ -637,7 +628,6 @@ tile contains the following data: "name": "NEMO Science Museum", "price": 1750 }, - "id": 0, "type": 1 }, { @@ -654,7 +644,6 @@ tile contains the following data: "name": "Nederlands Scheepvaartmuseum", "price": 1650 }, - "id": 0, "type": 1 }, { @@ -671,7 +660,6 @@ tile contains the following data: "name": "Amsterdam Centre for Architecture", "price": 0 }, - "id": 0, "type": 1 } ] @@ -714,7 +702,6 @@ tile contains the following data: "min_price.value": 0.0, "avg_price.value": 1133.3333333333333 }, - "id": 0, "type": 3 } ] @@ -782,7 +769,6 @@ tile contains the following data: "timed_out": false, "took": 2 }, - "id": 0, "type": 3 } ]