Xerox DocuShare Support & Software Leaflet

Page of 10
Best Practices for Content Indexing
6
Additional Best Practices
Do not use FORCE, KILL, or End Task 
After issuing the command to stop DocuShare, do not use ForceKill, or End Task to shut down 
the content.exe process. Doing so will corrupt the search indices and require a re-indexing of the 
site to restore the index. 
Note that content.exe may not shut down with the stop_docushare command if content.exe is 
busy indexing. If this happens, the only option is to wait until content.exe finishes and shuts down. 
When DocuShare restarts, the system checks the status of content.exe. If content.exe is busy, 
DocuShare will not restart until content.exe has completed indexing and shuts down.
Schedule automatic backup of the IDOL index data 
As part of an overall backup/recovery plan for a DocuShare server, include idoltool backup 
commands to back up the IDOL search indices. 
To schedule automatic backups of the Index Data at regular intervals,edit the 
AutonomyIDOLServer.cfg and add a [Schedule] section, if not present, and set the following 
parameters: 
[Schedule]
Backup=true 
BackupCompression=true (creates compressed backup files) 
BackupTime=00:00 (midnight; use 24 hour notation) 
BackupInterval=0 (elapsed time in hours between backups; 0=everyday)
BackupMaintainStructure=true 
NumberOfBackups=2 (backup cycles through each one)
BackupDir0=E:\DataIndex_Backup0 (backup0 directory location)
BackupDir1=E:\DataIndex_Backup1 
Note: 
The number of backups must correspond to the number of BackupDirN directories that 
is specified. Make sure that there is enough disk space for the backup files.
After restoring the index from a backup, run the reindexChangesSince command to update the 
index. Refer to the Command Line Utilities Guide for more information.
Defrag/compact index data 
Compaction of the Index Data is similar to defragmentation and it saves space and enhances 
performance. 
Compact the Index Data immediately by issuing a DRECOMPACT command from a local 
browser: http://localhost:9001/DRECOMPACT
Compact using idoltool: >idoltool -s drecompact
Compact using dsindex: >dsindex max clean
To schedule compaction at regular intervals, edit the AutonomyIDOLServer.cfg and add the 
[Schedule] section, if not present, and set the following parameters: