create_elasticsearch_client#

langchain_elasticsearch.client.create_elasticsearch_client(url: str | None = None, cloud_id: str | None = None, api_key: str | None = None, username: str | None = None, password: str | None = None, params: Dict[str, Any] | None = None) Elasticsearch[source]#
Parameters:
  • url (str | None)

  • cloud_id (str | None)

  • api_key (str | None)

  • username (str | None)

  • password (str | None)

  • params (Dict[str, Any] | None)

Return type:

Elasticsearch