Skip to main content

An API client for Elastic Enterprise Search

Reason this release was yanked:

Users should migrate to v7.10.0+

Project description

Elastic Enterprise Search Logo

CircleCI build

A first-party Python client for Elastic Enterprise Search.


Getting started 🐣

Supports Python 2.7 and Python 3.3+.

Depends on futures and requests.

Installed with pip <>:

$ python -m pip install elastic_enterprise_search

You can also download and install the project source:

$ python install


Retrieve your access token and a content source key after creating your content source.

Indexing a document into a custom content source:

  from elastic_enterprise_search import Client
  content_source_key = 'content source key'
  authorization_token = 'authorization token'
  client = Client(authorization_token)
  documents = [
      'id': '1234',
      'url': '',
      'title': 'Elastic Enterprise Search Official Python Client',
      'body': 'A descriptive body, with document contents and metadata'

  document_results = client.index_documents(content_source_key, documents, timeout=10, delay=2)

Change API endpoint

client = Client(authorization_token, "")


Where do I report issues with the client?

If something is not working as expected, please open an issue.

Contribute 🚀

We welcome contributors to the project. Before you begin, a couple notes...

License 📗

Apache 2.0 © Elastic

Thank you to all the contributors!

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

elastic_enterprise_search-0.1.0.tar.gz (8.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page