搜索应用
- class elasticsearch.client.SearchApplicationClient
To use this client, access
client.search_application
from anElasticsearch
client. For example:from elasticsearch import Elasticsearch # Create the client instance client = Elasticsearch(...) # Use the search_application client client.search_application.<method>(...)
- delete(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
删除搜索应用程序。
移除搜索应用程序及其关联别名。附加到搜索应用程序的索引不会被删除。
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-delete
- delete_behavioral_analytics(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
删除行为分析集合。 关联的数据流也会被删除。
- get(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
获取搜索应用程序详情。
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-get
- get_behavioral_analytics(*, name=None, error_trace=None, filter_path=None, human=None, pretty=None)
获取行为分析集合。
- list(*, error_trace=None, filter_path=None, from_=None, human=None, pretty=None, q=None, size=None)
获取搜索应用程序。 获取有关搜索应用程序的信息。
- post_behavioral_analytics_event(*, collection_name, event_type, payload=None, body=None, debug=None, error_trace=None, filter_path=None, human=None, pretty=None)
创建行为分析收集事件。
- Parameters:
- Return type:
- put(*, name, search_application=None, body=None, create=None, error_trace=None, filter_path=None, human=None, pretty=None)
创建或更新搜索应用程序。
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-put
- Parameters:
- Return type:
- put_behavioral_analytics(*, name, error_trace=None, filter_path=None, human=None, pretty=None)
创建行为分析集合。
- render_query(*, name, error_trace=None, filter_path=None, human=None, params=None, pretty=None, body=None)
渲染搜索应用程序查询。 使用指定的查询参数和与搜索应用程序关联的搜索模板(若未指定则使用默认模板)生成Elasticsearch查询。 若搜索模板中使用的参数未在
params
中指定,则将使用该参数的默认值。 此API返回通过调用搜索应用程序搜索API将生成并运行的具体Elasticsearch查询。您必须对搜索应用程序的后备别名具有
read
权限。
- search(*, name, error_trace=None, filter_path=None, human=None, params=None, pretty=None, typed_keys=None, body=None)
执行搜索应用程序搜索。 生成并运行一个Elasticsearch查询,该查询使用指定的查询参数和与搜索应用程序关联的搜索模板或默认模板。 未指定的模板参数将根据情况分配其默认值。
https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search-application-search
- Parameters:
- Return type: