younifyd
Menu

Create or update a search application

Create or update a search application

PUT/_application/search_application/{name}

Use it in a workflow

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

Request

Path parameters

namestringrequired

The name of the search application to be created or updated.

Query parameters

createboolean

If `true`, this request cannot replace or update existing Search Applications.

Request body

Enter the body as JSON in the step's Body field.

indicesarray<string>required

Indices that are part of the Search Application.

analytics_collection_nameany

Analytics collection associated to the Search Application.

templateany

Search template to use on search operations.

json
{
  "indices": [
    "string"
  ],
  "analytics_collection_name": null,
  "template": null
}

Response

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

resultany
json
{
  "result": null
}

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

Create or update a search application — Elasticsearch — Documentation