lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.9.0 vs lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.10.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.9/search-search.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.10/search-search.html
#
def knn_search(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
arguments = arguments.clone