Search Applications
- class elasticsearch.client.SearchApplicationClient(client)
- Parameters:
client (BaseClient)
- delete(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
Delete a search application. Remove a search application and its associated alias. Indices attached to the search application are not removed.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-search-application.html
- delete_behavioral_analytics(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
Delete a behavioral analytics collection. The associated data stream is also deleted.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-analytics-collection.html
- get(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
Get search application details.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-search-application.html
- get_behavioral_analytics(*, name=None, error_trace=None, filter_path=None, human=None, pretty=None)
Get behavioral analytics collections.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/list-analytics-collection.html
- list(*, error_trace=None, filter_path=None, from_=None, human=None, pretty=None, q=None, size=None)
Returns the existing search applications.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/list-search-applications.html
- Parameters:
- Return type:
- put(*, name, search_application=None, body=None, create=None, error_trace=None, filter_path=None, human=None, pretty=None)
Create or update a search application.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-search-application.html
- put_behavioral_analytics(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
Create a behavioral analytics collection.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-analytics-collection.html
- search(*, name, error_trace=None, filter_path=None, human=None, params=None, pretty=None, typed_keys=None, body=None)
Run a search application search. Generate and run an Elasticsearch query that uses the specified query parameteter and the search template associated with the search application or default template. Unspecified template parameters are assigned their default values if applicable.
https://www.elastic.co/guide/en/elasticsearch/reference/8.16/search-application-search.html
- Parameters:
name (str) – The name of the search application to be searched.
params (Mapping[str, Any] | None) – Query parameters specific to this request, which will override any defaults specified in the template.
typed_keys (bool | None) – Determines whether aggregation names are prefixed by their respective types in the response.
error_trace (bool | None)
human (bool | None)
pretty (bool | None)
- Return type: