The full-text indexing of FAQ and tickets relies on Lucene and is done by the asynchonous ant task update-index (see 03 Administration) using the properties below (set in /properties/config.properties).
Properties
Data folder
The directory of the filesystem used to store index data:
indexing.path=/usr/local/helpdesk/index
In clustered environements, this folder should be shared between all the application servers.
Commands
See also: 03 Administration
Updating the index
Updating the index is done by running the ant task update-index, which should be called periodically. For instance on a Unix system from a crontab:
00,05,10,15,20,25,30,35,40,45,50,55 * * * * root /usr/local/helpdesk/helpdesk-cron.sh update-index
Rebuilding the index
When having a trouble with the index, it is possible to rebuild all the index data by running the ant task rebuild-index:
/usr/local/helpdesk/helpdesk.sh rebuild-index
Unlocking the index
If the update-index task does not terminate normally, the next call makes the following error:
Lucene index is locked, try again later\!
In this case, make sure that no indexing task is running and run the ant task unlock-index:
/usr/local/helpdesk/helpdesk.sh unlock-index