NOTE: This requires Deki Wiki 8.05 (Jay Cooke) or greater.
If you're running Deki Wiki in a clustered environment, you'll want to configure the Lucene service to run as a service on one of the nodes in the cluster. Follow these instructions to configure lucene to run as a remote service.
Add the following to your mindtouch.deki.startup.xml to initialize the service
<action verb="POST" path="/host/services">
<config>
<path>deki/luceneindex</path>
<sid>sid://mindtouch.com/2007/06/luceneindex</sid>
<path.store>/var/www/dekiwiki/bin/cache/luceneindex/$1</path.store>
<apikey>your_api_key</apikey>
</config>
</action>
Edit the <indexer> section of your mindtouch.deki.startup.xml to use the remote service:
<indexer src="http://dekiwiki:8081/deki/luceneindex?apikey=your_api_key"> <filter-path extension="doc">/var/www/dekiwiki/bin/filters/wvText</filter-path> <filter-path extension="pdf">/var/www/dekiwiki/bin/filters/pdf2text</filter-path> <filter-path extension="xhtml">/var/www/dekiwiki/bin/filters/html2text</filter-path> <!-- SNIP --> </indexer>
The uri in the src attribute tells Deki Wiki where the Lucene Index is running and where index updates will be POSTed to.