Code accompanying django-haystack-elasticsearch tutorial posted on http://knowpapa.com/haystack-elasticsearch/
JavaScript Python HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
product_images
searchDemo
static
templates
.gitignore
README.md
db.sqlite3
manage.py
requirements.txt
searchdemo.png

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.