From 87b7725565c6cc4561b928d58b1d00f91c51efb1 Mon Sep 17 00:00:00 2001 From: iverase Date: Thu, 17 Mar 2022 16:33:03 +0100 Subject: [PATCH 1/2] Fix Vector tiles search docs for features.id --- docs/reference/search/search-vector-tile-api.asciidoc | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/reference/search/search-vector-tile-api.asciidoc b/docs/reference/search/search-vector-tile-api.asciidoc index f62d4e39c64b2..09a9771d66894 100644 --- a/docs/reference/search/search-vector-tile-api.asciidoc +++ b/docs/reference/search/search-vector-tile-api.asciidoc @@ -257,7 +257,7 @@ calculate a final precision as follows: ` + grid_precision` This precision determines the https://h3geo.org/docs/core-library/restable[H3 -resolution of the hexagonal cells] produced by the `geohex` aggregation. The +resolution of the hexagonal cells] produced by the `geohex` aggregation. The following table maps the H3 resolution for each precision. For example, if `` is `3` and `grid_precision` is `3`, the precision is @@ -479,11 +479,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: @@ -530,8 +525,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] ===== ==== @@ -628,8 +621,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] ===== ==== From 290ec109c4324b2c0bd78fceec8dd2b5c8f73d77 Mon Sep 17 00:00:00 2001 From: iverase Date: Thu, 17 Mar 2022 17:15:03 +0100 Subject: [PATCH 2/2] remove id from response --- docs/reference/search/search-vector-tile-api.asciidoc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/docs/reference/search/search-vector-tile-api.asciidoc b/docs/reference/search/search-vector-tile-api.asciidoc index 09a9771d66894..83f8e4c31ce26 100644 --- a/docs/reference/search/search-vector-tile-api.asciidoc +++ b/docs/reference/search/search-vector-tile-api.asciidoc @@ -727,7 +727,6 @@ tile contains the following data: "name": "NEMO Science Museum", "price": 1750 }, - "id": 0, "type": 1 }, { @@ -744,7 +743,6 @@ tile contains the following data: "name": "Nederlands Scheepvaartmuseum", "price": 1650 }, - "id": 0, "type": 1 }, { @@ -761,7 +759,6 @@ tile contains the following data: "name": "Amsterdam Centre for Architecture", "price": 0 }, - "id": 0, "type": 1 } ] @@ -804,7 +801,6 @@ tile contains the following data: "min_price.value": 0.0, "avg_price.value": 1133.3333333333333 }, - "id": 0, "type": 3 } ] @@ -872,7 +868,6 @@ tile contains the following data: "timed_out": false, "took": 2 }, - "id": 0, "type": 3 } ]