Skip to content

Overview

The Elasticsearch module provides direct access to the Ingenuity Elasticsearch endpoint. This module is deprecated and will be removed in a future release.

Use get_elastic() to create a client:

from eigeningenuity import get_elastic, EigenServer
ei = EigenServer("https://demo.eigen.co/")
elastic = get_elastic(ei)
indices = elastic.listIndices("elasticsearch-int")
query = {"query": {"match_all": {}}}
results = elastic.executeRawQuery("my-index", query)

Most calls support:

  • json (default)
  • df (pandas DataFrame)
  • raw (full API response)
  • file (write JSON to disk)

For secured environments, configure Azure auth before creating the client. See Authentication.