One of the main functionalities of content-driven websites is a full-text search. Haystack is a modular search API that supports the Solr, Elasticsearch, Whoosh, and Xapian search engines. For each model in your project that has to be findable in the search, you need to define an index that will read out the textual information from the models and place it into the backend. In this recipe, you will learn how to set up a search with Haystack and the Python-based Whoosh search engine for a multilingual website.
Implementing a multilingual search with Haystack and Whoosh
Getting ready
We are going to use the previously defined categories and ideas apps.
Make sure you have installed django-haystack and Whoosh in your virtual environment...