lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.11.2 vs lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.12.0

- old
+ new

@@ -30,10 +30,10 @@ # @option arguments [List] :index A comma-separated list of index names to search; use `_all` to perform the operation on all indices # @option arguments [List] :routing A comma-separated list of specific routing values # @option arguments [Hash] :headers Custom HTTP headers # @option arguments [Hash] :body The search definition # - # @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 knn_search(arguments = {}) request_opts = { endpoint: arguments[:endpoint] || "knn_search" } defined_params = [:index].inject({}) do |set_variables, variable|