[[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 || || || || || || || =========================================================================================================================== //////// [discrete] [[client.searchMvt]] === 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 ---- [discrete] ==== Request [pass] ++++
++++
interface SearchMvtRequest extends <> {
  index: <>
  field: <>
  zoom: <>
  x: <>
  y: <>
  aggs?: Record>>
  buffer?: <>
  exact_bounds?: boolean
  extent?: <>
  fields?: <>
  grid_agg?: <>
  grid_precision?: <>
  grid_type?: <>
  query?: <>
  runtime_mappings?: <>
  size?: <>
  sort?: <>
  track_total_hits?: <>
  with_labels?: boolean
}

[pass]
++++
++++ [discrete] ==== Response [pass] ++++
++++
type SearchMvtResponse = <>

[pass]
++++
++++