Skip to main content

Configurable indexing and other extras for Haystack (with ElasticSearch biases)

Project description


Ben Lopatin (

Configurable indexing and other extras for Haystack (with ElasticSearch biases).


  • Django: the features in elasticstack have only been tested on 1.4.x.

  • Haystack: ElasticSearch support was only added in Haystack 2.x which is still in development. You’ll need to install Haystack from source.

  • ElasticSearch: presumably any newish version will do, however the only version tested against so far is 0.19.x

Features and goals

  • Configurable indexing, from the project level to the field level

  • Class based views more like Django CBV’s

  • Indexing and debugging helpers

Some of these features are backend agnostic but most features have ElasticSearch in mind.

For more background see the blog post Stretching Haystack’s ElasticSearch Backend.

Stability, docs, and tests

This project is in ‘alpha’! Index control should remain fairly stable but everything should be considred subject to change until beta. As of yet, no docs (see the aforementioned blog post to get started) and no tests (hold on to your butts).

Why not add this stuff to Haystack?

This project first aims to solve problems related specifically to working with ElasticSearch. Haystack is 1) backend agnostic (a good thing), 2) needs to support existing codebases, and 3) not my project. Most importantly, adding these features through a separate Django app means providing them without needing to fork Haystack. Hopefully some of the features here, once finalized and tested, will be suitable to add to Haystack.

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

elasticstack-0.0.2.tar.gz (6.0 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