lib/elasticsearch/api/actions/rank_eval.rb in elasticsearch-api-7.12.0 vs lib/elasticsearch/api/actions/rank_eval.rb in elasticsearch-api-7.13.0.pre

- old
+ new

@@ -30,10 +30,10 @@ # @option arguments [String] :expand_wildcards Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all) # @option arguments [String] :search_type Search operation type (options: query_then_fetch, dfs_query_then_fetch) # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The ranking evaluation search definition, including search requests, document ratings and ranking metric definition. (*Required*) # - # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.12/search-rank-eval.html + # @see https://www.elastic.co/guide/en/elasticsearch/reference/7.x/search-rank-eval.html # def rank_eval(arguments = {}) raise ArgumentError, "Required argument 'body' missing" unless arguments[:body] headers = arguments.delete(:headers) || {}