Get search application details Beta

GET /_application/search_application/{name}

Path parameters

  • name string Required

    The name of the search application

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • name string Required
    • indices array[string] Required

      Indices that are part of the Search Application.

    • Time unit for milliseconds

    • template object

      Additional properties are allowed.

      Hide template attribute Show template attribute object
      • script object Required

        Additional properties are allowed.

        Hide script attributes Show script attributes object
        • source string

          The script source.

        • id string
        • params object

          Specifies any named parameters that are passed into the script as variables. Use parameters instead of hard-coded values to decrease compile time.

          Hide params attribute Show params attribute object
          • * object Additional properties

            Additional properties are allowed.

        • lang string

          Any of:

          Values are painless, expression, mustache, or java.

        • options object
          Hide options attribute Show options attribute object
          • * string Additional properties
GET /_application/search_application/{name}
curl \
 -X GET http://api.example.com/_application/search_application/{name}
Response examples (200)
{
  "name": "string",
  "indices": [
    "string"
  ],
  "": 42.0,
  "analytics_collection_name": "string",
  "template": {
    "script": {
      "source": "string",
      "id": "string",
      "params": {
        "additionalProperty1": {},
        "additionalProperty2": {}
      },
      "": "painless",
      "options": {
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      }
    }
  }
}