airflow.providers.opensearch.hooks.opensearch
¶
Module Contents¶
Classes¶
Provide a thin wrapper around the OpenSearch client. |
- class airflow.providers.opensearch.hooks.opensearch.OpenSearchHook(open_search_conn_id, log_query, open_search_conn_class=RequestsHttpConnection, **kwargs)[source]¶
Bases:
airflow.hooks.base.BaseHook
Provide a thin wrapper around the OpenSearch client.
- Parameters
- search(query, index_name, **kwargs)[source]¶
Run a search query against the connected OpenSearch cluster.