
Haystack provides modular search for django. it features a unified, familiar api that allows you to plug in different search backends (such as solr, elasticsearch, whoosh, xapian, etc.) without having to modify your code.
it plays nicely with third-party app without needing to modify the source and supports advanced features like faceting, more like this, highlighting, spatial search and spelling suggestions.
this package contains the documentation.