We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05a8169 commit 743a64bCopy full SHA for 743a64b
elasticsearch-api/lib/elasticsearch/api/actions/knn_search.rb
@@ -51,11 +51,7 @@ def knn_search(arguments = {})
51
52
_index = arguments.delete(:index)
53
54
- method = if body
55
- Elasticsearch::API::HTTP_POST
56
- else
57
- Elasticsearch::API::HTTP_GET
58
- end
+ method = Elasticsearch::API::HTTP_GET
59
60
path = "#{Utils.__listify(_index)}/_knn_search"
61
params = Utils.process_params(arguments)
0 commit comments