Returns the existing search applications Beta

GET /_application/search_application

Query parameters

  • q string

    Query in the Lucene query string syntax.

  • from number

    Starting offset.

  • size number

    Specifies a max number of results to get.

Responses

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

        Indices that are part of the Search Application.

      • 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.

          • options object
      • name string Required
      • Time unit for milliseconds

GET /_application/search_application
curl \
 -X GET http://api.example.com/_application/search_application
Response examples (200)
{
  "count": 42.0,
  "results": [
    {
      "indices": [
        "string"
      ],
      "analytics_collection_name": "string",
      "template": {
        "script": {
          "source": "string",
          "id": "string",
          "params": {},
          "options": {}
        }
      },
      "name": "string",
      "": 42.0
    }
  ]
}