lib/elasticsearch/api/actions/search.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/search.rb in elasticsearch-api-8.12.0
- old
+ new
@@ -70,10 +70,10 @@
# @option arguments [String] :min_compatible_shard_node The minimum compatible version that all shards involved in search should have for this request to be successful
# @option arguments [Boolean] :include_named_queries_score Indicates whether hit.matched_queries should be rendered as a map that includes the name of the matched query associated with its score (true) or as an array containing the name of the matched queries (false)
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body The search definition using the Query DSL
#
- # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.11/search-search.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.12/search-search.html
#
def search(arguments = {})
request_opts = { endpoint: arguments[:endpoint] || "search" }
defined_params = [:index].inject({}) do |set_variables, variable|