lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.6.0 vs lib/elasticsearch/api/actions/knn_search.rb in elasticsearch-api-8.7.0
- old
+ new
@@ -13,11 +13,11 @@
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
-# Auto generated from build hash f284cc16f4d4b4289bc679aa1529bb504190fe80
+# Auto generated from build hash cf0d0c8ed43ab23b6d73c430a66aca4e771fce20
# @see https://github.com/elastic/elasticsearch/tree/main/rest-api-spec
#
module Elasticsearch
module API
module Actions
@@ -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.6/search-search.html
+ # @see https://www.elastic.co/guide/en/elasticsearch/reference/8.7/search-search.html
#
def knn_search(arguments = {})
raise ArgumentError, "Required argument 'index' missing" unless arguments[:index]
arguments = arguments.clone