Create or update a search application PUT /_application/search_application/{name} Auth Required privileges Index privileges manage Cluster privileges manage_search_application Path Query Body Responses Expand all Path parameters name string required The name of the search application to be created or updated. Query parameters create boolean · default: false If true, this request cannot replace or update existing Search Applications. Request body { } indices string[] required Indices that are part of the Search Application. analytics_collection_name string Analytics collection associated to the Search Application. template object Search template to use on search operations. + Show 1 property script string required The associated mustache template. Response 200 application/json result enum required Values: created updated deleted not_found noop