Run a search application search Beta
Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. Unspecified template parameters are assigned their default values if applicable.
Path parameters
-
The name of the search application to be searched.
Query parameters
-
typed_keys boolean
Determines whether aggregation names are prefixed by their respective types in the response.
Responses
-
200 application/json
Hide response attributes Show response attributes object
-
Additional properties are allowed.
Hide _shards attributes Show _shards attributes object
-
failures array[object]
Hide failures attributes Show failures attributes object
-
index string
-
node string
-
Additional properties are allowed.
Hide reason attributes Show reason attributes object
-
The type of error
-
reason string
A human-readable explanation of the error, in english
-
stack_trace string
The server stack trace. Present only if the
error_trace=true
parameter was sent with the request. -
caused_by object
Additional properties are allowed.
-
root_cause array[object]
Additional properties are allowed.
-
suppressed array[object]
Additional properties are allowed.
-
-
status string
-
-
skipped number
-
Additional properties are allowed.
Hide hits attributes Show hits attributes object
-
Hide hits attributes Show hits attributes object
-
_id string
_score number | string | null
-
_explanation object
Additional properties are allowed.
Hide _explanation attributes Show _explanation attributes object
-
Additional properties are allowed.
-
fields object
Hide fields attribute Show fields attribute object
-
Additional properties are allowed.
-
-
highlight object
Hide highlight attribute Show highlight attribute object
-
inner_hits object
matched_queries array[string] | object
One of: Hide attribute Show attribute
-
_nested object
Additional properties are allowed.
-
_ignored array[string]
-
ignored_field_values object
Hide ignored_field_values attribute Show ignored_field_values attribute object
-
_shard string
-
_node string
-
_routing string
-
_source object
Additional properties are allowed.
-
_rank number
-
_seq_no number
-
_primary_term number
-
_version number
-
sort array[number | string | boolean | null | object]
A field value.
One of: Additional properties are allowed.
max_score number | string | null
-
aggregations object
-
_clusters object
Additional properties are allowed.
Hide _clusters attributes Show _clusters attributes object
-
details object
Hide details attribute Show details attribute object
-
Additional properties are allowed.
-
-
fields object
Hide fields attribute Show fields attribute object
-
Additional properties are allowed.
-
-
max_score number
-
num_reduce_phases number
-
profile object
Additional properties are allowed.
Hide profile attribute Show profile attribute object
-
Hide shards attributes Show shards attributes object
-
Hide aggregations attributes Show aggregations attributes object
-
dfs object
Additional properties are allowed.
Hide dfs attributes Show dfs attributes object
-
statistics object
Additional properties are allowed.
Hide statistics attributes Show statistics attributes object
-
knn array[object]
Additional properties are allowed.
-
-
fetch object
Additional properties are allowed.
Hide fetch attributes Show fetch attributes object
-
time_in_nanos number
Time unit for nanoseconds
-
Additional properties are allowed.
Hide breakdown attributes Show breakdown attributes object
-
load_source number
-
load_source_count number
-
load_stored_fields number
-
load_stored_fields_count number
-
next_reader number
-
next_reader_count number
-
process_count number
-
process number
-
-
debug object
Additional properties are allowed.
Hide debug attributes Show debug attributes object
-
stored_fields array[string]
-
fast_path number
-
-
children array[object]
Additional properties are allowed.
-
Hide searches attributes Show searches attributes object
-
-
-
pit_id string
-
_scroll_id string
-
suggest object
Hide suggest attribute Show suggest attribute object
-
terminated_early boolean
curl \
-X GET http://api.example.com/_application/search_application/{name}/_search \
-H "Content-Type: application/json" \
-d '{"params":{"additionalProperty1":{},"additionalProperty2":{}}}'