Skip to content

Commit

Permalink
[API] Adds typed_keys boolean parameter to search_application search
Browse files Browse the repository at this point in the history
  • Loading branch information
picandocodigo committed May 14, 2024
1 parent f1a0454 commit 37c4947
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ module Actions
# support SLA of official GA features.
#
# @option arguments [String] :name The name of the search application to be searched
# @option arguments [Boolean] :typed_keys Specify whether aggregation and suggester names should be prefixed by their respective types in the response
# @option arguments [Hash] :headers Custom HTTP headers
# @option arguments [Hash] :body Search parameters, including template parameters that override defaults
#
Expand Down Expand Up @@ -58,7 +59,7 @@ def search(arguments = {})
end

path = "_application/search_application/#{Utils.__listify(_name)}/_search"
params = {}
params = Utils.process_params(arguments)

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

0 comments on commit 37c4947

Please sign in to comment.