xref: /plugin/sphinxsearch-was/INSTALL (revision 38:69df54f2f081)
1=== Requirements ===
2
31. Sphinx Search (http://www.sphinxsearch.com/downloads.html)
4
52. PHP5 with SQLite extension (it is enabled by default as of PHP 5)
6
7
8=== Installation ===
9
101. Unpack plugin files into lib/plugins directory of your DokuWiki installation.
11
122. Run Sphinx Search indexer to index your DokuWiki data for the first time.
13Note: you have to run it from lib/plugins/sphinxsearch directory. e.g.:
14	$cd {Your_DokuWiki_Path}/lib/plugins/sphinxsearch
15	$indexer -c sphinx.conf dk_main
16
173. After indexer completes it's job, run searchd, e.g.:
18	$searchd -c sphinx.conf
19By default searchd port is 3313, so make sure this port is free (if you have sphinx on other port, see #5).
20
214. To have your search results up-to-date, setup cronjob to periodically re-index your DokuWiki data, e.g.:
22    1 10 * * * root {Your_DokuWiki_Path}/lib/plugin/sphinxsearch/indexer.php
23
245. You can fine-tune the search behavior by editing the configuration file conf/default.php
25
26
27
28