younifyd
Menu

Run a search application search (POST)

Run a search application search

POST/_application/search_application/{name}/_search

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Run a search application search (POST) action (under search_application).
  3. Fill in the fields below, then reference the result from later steps as {{runASearchApplicationSearchPost.response.data}}.

Request

Path parameters

namestringrequired

The name of the search application to be searched.

Query parameters

typed_keysboolean

Determines whether aggregation names are prefixed by their respective types in the response.

Response

Returns 200 with an object. Read it in later steps with {{runASearchApplicationSearchPost.response.data.<field>}}.

tooknumber

The number of milliseconds it took Elasticsearch to run the request. This value is calculated by measuring the time elapsed between receipt of a request on the coordinating node and the time at which the coordinating node is ready to send the response. It includes: * Communication time between the coordinating node and data nodes * Time the request spends in the search thread pool, queued for execution * Actual run time It does not include: * Time needed to send the request to Elasticsearch * Time needed to serialize the JSON response * Time needed to send the response to a client

timed_outboolean

If `true`, the request timed out before completion; returned results may be partial or empty.

_shardsany

A count of shards used for the request.

hitsany

The returned documents and metadata.

aggregationsobject
_clustersany
fieldsobject
max_scorenumber
num_reduce_phasesnumber
profileany
pit_idany
_scroll_idany

The identifier for the search and its search context. You can use this scroll ID with the scroll API to retrieve the next batch of search results for the request. This property is returned only if the `scroll` query parameter is specified in the request.

suggestobject
terminated_earlyboolean
json
{
  "took": 0,
  "timed_out": false,
  "_shards": null,
  "hits": null,
  "aggregations": {},
  "_clusters": null,
  "fields": {},
  "max_score": 0,
  "num_reduce_phases": 0,
  "profile": null,
  "pit_id": null,
  "_scroll_id": null
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Run a search application search (POST) — Elasticsearch — Documentation