The DIH maintains an internal queue of unfinished index actions that it receives. To tune indexing performance, you can control certain characteristics of the queue.
To change the size of the queue (the number of actions it holds), modify the IndexQueueSize
configuration parameter (in the [Server]
section of the DIH configuration file). The default value is 4096
.
If, for example, your DIH has a large number of child IDOL servers, it spends more time processing the queue, which can cause occasional delays in indexing. Having a large queue might avoid DIH removing actions from the queue during those delays.
The DIH periodically polls each job in the index queue to see whether it is complete, so that the DIH can remove it from the queue. Specify how often the polling occurs by modifying the PollInterval
configuration parameter (in the [Server]
section of the DIH configuration file). The default value is 10 seconds.
Frequent polling might help to keep the queue size down if you exceed the maximum queue size. However, polling too frequently might affect indexing performance.
./main
directory, relative to the DIH executable. Set the Main
configuration parameter (in the [Paths]
section of the DIH configuration file) to the full or relative path to the directory to use.Polling
to False
. You can use this setting in the [Server]
section for all child servers, or in the [IDOLServerN]
section to apply it to an individual child server.
|