Files
elasticsearch-js/docs/reference-search_mvt.asciidoc
2024-12-05 14:46:51 -06:00

89 lines
4.3 KiB
Plaintext

[[reference-search_mvt]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| This file is autogenerated, DO NOT send pull requests that changes this file directly. ||
|| You should update the script that does the generation, which can be found in: ||
|| https://github.com/elastic/elastic-client-generator-js ||
|| ||
|| You can run the script with the following command: ||
|| npm run elasticsearch -- --version <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
[discrete]
=== client.searchMvt
Search a vector tile. Search a vector tile for geospatial values.
{ref}/search-vector-tile-api.html[{es} documentation]
[discrete]
==== Function signature
[source,ts]
----
(SearchMvtRequest, options?): Promise<SearchMvtResponse>
----
[discrete]
==== SearchMvtRequest
[pass]
++++
<pre>
++++
interface SearchMvtRequest extends <<RequestBase>> {
index: <<Indices>>
field: <<Field>>
zoom: SearchMvtZoomLevel
x: SearchMvtCoordinate
y: SearchMvtCoordinate
aggs?: Record<string, AggregationsAggregationContainer>
buffer?: <<_integer, integer>>
exact_bounds?: boolean
extent?: <<_integer, integer>>
fields?: <<Fields>>
grid_agg?: SearchMvtGridAggregationType
grid_precision?: <<_integer, integer>>
grid_type?: SearchMvtGridType
query?: QueryDslQueryContainer
runtime_mappings?: MappingRuntimeFields
size?: <<_integer, integer>>
sort?: <<Sort>>
track_total_hits?: SearchTrackHits
with_labels?: boolean
}
[pass]
++++
</pre>
++++
[discrete]
==== SearchMvtResponse
[pass]
++++
<pre>
++++
type SearchMvtResponse = <<MapboxVectorTiles>>
[pass]
++++
</pre>
++++