lib/elasticsearch/api/actions/count.rb in elasticsearch-api-8.13.0 vs lib/elasticsearch/api/actions/count.rb in elasticsearch-api-8.14.0

- old
+ new

@@ -39,10 +39,10 @@ # @option arguments [Boolean] :lenient Specify whether format-based query failures (such as providing text to a numeric field) should be ignored # @option arguments [Number] :terminate_after The maximum count for each shard, upon reaching which the query execution will terminate early # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body A query to restrict the results specified with the Query DSL (optional) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.13/search-count.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-count.html # def count(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || 'count' } defined_params = [:index].each_with_object({}) do |variable, set_variables|