xref: /plugin/sphinxsearch-was/INSTALL (revision 16:99cd2fd2d45d)
1 * Requirments
2 1. Sphinx Search with xmlpipe2 support
3 2. Sqlite
4 
5 * Install
6 1. unpack archive into lib/plugins direcotory of your wiki
7 2. change directory to lib/plugins/sphinxsearch
8 3. run first time Sphinx Search indexer
9    $indexer -c sphinx.conf dk_main
10 4. after indexer will complete indexsation, run first time searchd,
11 by default searchd port is 3313, so be sure this port is free
12    $searchd -c sphinx.conf
13 5. Setup cronjob to periodically reindex your dokuwiki files
14 
15 * Troubleshooting
16 1. PHP Allocate memory problem
17 This plugin used dokuwiki page parser which used too much memory,
18 so you can solve this problem by incresing you php memory settings:
19    1) through php.ini
20         memory_limit = 1024M
21    2) through php script
22         ini_set('memory_limit', '1024M');
23    3) through .htaccess file
24         php_value memory_limit "1024M"
25 
26 
27