For search: 
- Download and extract elasticsearch from https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.3.4.tar.gz 
- Execute: pip install elasticsearch 
- In terminal run ./bin/elasticsearch from the extracted folder and keep elasticsearch running in the background. 
- Run nltk.download() to download the corpus for NLTK.
- Run search.py to create index for Posts table. 
- After it finishes, run index.py and go to localhost:8000/search/ <search query>