zjgoodman / gotdb

A game of thrones database website
http://gotdb.me
1 stars 0 forks source link

Create search capability. #72

Closed zjgoodman closed 9 years ago

zjgoodman commented 9 years ago

The result of a search must be a list of links to crises and/or organizations and/or people (e.g. like Google). The search results must be contextualized and the search terms must show up. The search results must be clickable. Multi-word search must show clearly marked and results followed by or results.

zjgoodman commented 9 years ago
Install the package:
    Latest stable (2.0.0) off PyPI: pip install django-haystack
    Latest dev off GitHub: pip install -e git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
Add haystack to your INSTALLED_APPS.
Create search_indexes.py files for your models.
Setup the main SearchIndex via autodiscover.
Include haystack.urls to your URLconf.
Search!
zjgoodman commented 9 years ago

http://haystacksearch.org/

zjgoodman commented 9 years ago

http://django-haystack.readthedocs.org/en/v2.4.0/tutorial.html#installation