Skip to content

Commit

Permalink
[DOCS] Fix Vector tiles search docs for features.id (elastic#85067) (e…
Browse files Browse the repository at this point in the history
…lastic#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 a780558)

# Conflicts:
#	docs/reference/search/search-vector-tile-api.asciidoc

Co-authored-by: Ignacio Vera <[email protected]>
  • Loading branch information
jrodewig and iverase authored Mar 17, 2022
1 parent 167c75d commit 7878577
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions docs/reference/search/search-vector-tile-api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -380,11 +380,6 @@ value that matches the `geo_bounding_box` query.
`<field>`::
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:
Expand Down Expand Up @@ -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]
=====
====
Expand Down Expand Up @@ -530,8 +523,6 @@ partial or empty.
(integer) Milliseconds it took {es} to run the search. See the search API's
<<search-api-took,`took`>> response property.
======
include::search-vector-tile-api.asciidoc[tag=feature-id]

include::search-vector-tile-api.asciidoc[tag=feature-type]
=====
====
Expand Down Expand Up @@ -637,7 +628,6 @@ tile contains the following data:
"name": "NEMO Science Museum",
"price": 1750
},
"id": 0,
"type": 1
},
{
Expand All @@ -654,7 +644,6 @@ tile contains the following data:
"name": "Nederlands Scheepvaartmuseum",
"price": 1650
},
"id": 0,
"type": 1
},
{
Expand All @@ -671,7 +660,6 @@ tile contains the following data:
"name": "Amsterdam Centre for Architecture",
"price": 0
},
"id": 0,
"type": 1
}
]
Expand Down Expand Up @@ -714,7 +702,6 @@ tile contains the following data:
"min_price.value": 0.0,
"avg_price.value": 1133.3333333333333
},
"id": 0,
"type": 3
}
]
Expand Down Expand Up @@ -782,7 +769,6 @@ tile contains the following data:
"timed_out": false,
"took": 2
},
"id": 0,
"type": 3
}
]
Expand Down

0 comments on commit 7878577

Please sign in to comment.