lib/elasticsearch/api/actions/search_mvt.rb in elasticsearch-api-8.2.2 vs lib/elasticsearch/api/actions/search_mvt.rb in elasticsearch-api-8.3.0
- old
+ new
@@ -12,11 +12,14 @@
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
-
+#
+# Auto generated from build hash 7faba7ad1bfe9ef9b821e7bca858346ca80e6030
+# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
+#
module Elasticsearch
module API
module Actions
# Searches a vector tile for geospatial values. Returns results as a binary Mapbox vector tile.
# This functionality is Experimental and may be changed or removed
@@ -33,13 +36,14 @@
# @option arguments [Integer] :extent Size, in pixels, of a side of the vector tile.
# @option arguments [Integer] :grid_precision Additional zoom levels available through the aggs layer. Accepts 0-8.
# @option arguments [String] :grid_type Determines the geometry type for features in the aggs layer. (options: grid, point, centroid)
# @option arguments [Integer] :size Maximum number of features to return in the hits layer. Accepts 0-10000.
# @option arguments [Boolean|long] :track_total_hits Indicate if the number of documents that match the query should be tracked. A number can also be specified, to accurately track the total hit count up to the number.
+ # @option arguments [Boolean] :with_labels If true, the hits and aggs layers will contain additional point features with suggested label positions for the original features.
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body Search request body.
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.2/search-vector-tile-api.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.3/search-vector-tile-api.html
#
def search_mvt(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
raise ArgumentError, "Required argument 'field' missing" unless arguments[:field]
raise ArgumentError, "Required argument 'zoom' missing" unless arguments[:zoom]