Code accompanying django-haystack-elasticsearch tutorial posted on http://knowpapa.com/haystack-elasticsearch/
Switch branches/tags
Nothing to show
Clone or download

README.md

Django Haystack + Elasticsearch + Autocomplete + Faceting Tutorial

Code accompanying Django Haystack + Elasticsearch + Autocomplete + Faceting Tutorial posted on http://knowpapa.com/haystack-elasticsearch/

Django Haystack + Elasticsearch + Autocomplete + Faceting Tutorial

Installation

  1. Download and Unzip the files

  2. Install Elasticsearch and start the server. (Details in the tutorial http://knowpapa.com/haystack-elasticsearch/)

  3. create a virtualenv

    virtualenv venv

  4. Install dependencies

    pip install -r requirements.txt

  5. Run following Django commands:

    python manage.py makemigrations python manage.py migrate python manage.py rebuild_index python manage.py runserver

  6. Visit home page 127.0.0.1:8000 and try out some searches.