|Applies To||Product Set: Archer|
|Issue||Lucene, the search indexing plugin that is used by Archer, performs a process called optimization on the file repository index at a default interval of three minutes. If the index is very large, optimization can take longer than three minutes, so the process repeats as soon as it finishes. Optimization uses a lot of memory and CPU so it can slow down the indexing and search process. Also, while optimization is being done, the index cannot be searched.|
|Cause||Review the queuing service log file to see how long optimization is taking for the file repository directory. If the optimization restarts soon after it completes, this can interfere with indexing and searching. |
In the example below, optimization of the file repository takes about seven minutes, and restarts as soon as it completes.
|Resolution||The frequency of optimizing the repository file index can be increased in the queuing service configuration file. Locate the file on the server running the queuing service, typically at the following path:|
Locate this setting:
And change it to the maximum value, 1440. (There is no benefit to optimizing the index more frequently).
Restart the queuing service to load the changed configuration file.