1 Full text search (using sphinx search)
3 Currently full text search works only with sphinx search engine
4 And builtin PostgreSQL (postgres only >= 8.3???)
6 5.1 Instructions for Sphinx search setup
7 Sphinx at this time supports only MySQL and PostgreSQL databases
8 to enable this, install sphinx search engine and djangosphinx
10 configure sphinx, sample configuration can be found in
11 sphinx/sphinx.conf file usually goes somewhere in /etc tree
13 build osqa index first time manually
15 % indexer --config /path/to/sphinx.conf --index osqa
17 setup cron job to rebuild index periodically with command
18 your crontab entry may be something like
20 0 9,15,21 * * * /usr/local/bin/indexer --config /etc/sphinx/sphinx.conf --all --rotate >/dev/null 2>&1
21 adjust it as necessary this one will reindex three times a day at 9am 3pm and 9pm
23 if your forum grows very big ( good luck with that :) you'll
24 need to two search indices one diff index and one main
25 please refer to online sphinx search documentation for the information
26 on the subject http://sphinxsearch.com/docs/
28 in settings.py look for INSTALLED_APPS
29 and uncomment #'djangosphinx',