Skip to content

Commit eb62667

Browse files
committed
[API] Adds typed_keys boolean parameter to search_application search
1 parent 0ae58a7 commit eb62667

File tree

1 file changed

+2
-1
lines changed
  • elasticsearch-api/lib/elasticsearch/api/actions/search_application

1 file changed

+2
-1
lines changed

elasticsearch-api/lib/elasticsearch/api/actions/search_application/search.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ module Actions
2929
# support SLA of official GA features.
3030
#
3131
# @option arguments [String] :name The name of the search application to be searched
32+
# @option arguments [Boolean] :typed_keys Specify whether aggregation and suggester names should be prefixed by their respective types in the response
3233
# @option arguments [Hash] :headers Custom HTTP headers
3334
# @option arguments [Hash] :body Search parameters, including template parameters that override defaults
3435
#
@@ -58,7 +59,7 @@ def search(arguments = {})
5859
end
5960

6061
path = "_application/search_application/#{Utils.__listify(_name)}/_search"
61-
params = {}
62+
params = Utils.process_params(arguments)
6263

6364
Elasticsearch::API::Response.new(
6465
perform_request(method, path, params, body, headers, request_opts)

0 commit comments

Comments
 (0)