The scanning process is controlled by a configuration file /usr/lib/docview/en/htdig.conf. That file indicates the main server URL, as well as options for controlling how indexing takes place. The standard ht://dig documentation describes all the configuration options; see http://www.htdig.org.
The rundig process indexes all of the documentation that is referenced by links from the DocView homepage, except for links that go off the current machine. The indexing process can take a long time, depending on the amount of installed documentation and the speed of the machine. Without the -v option, the process gives no indication that it is proceeding, except that the database files continue to grow.
The generated indexes can be quite large, possibly over 100 MB depending on how much documentation is installed on the system.
The first time rundig is executed, it completes the ht://dig configuration for the current machine. It copies the configuration template file from /usr/lib/docview/conf/templates/htdig.conf.in and inserts information for the current machine. The configuration step is not performed after the first execution.
The rundig command should be run again whenever new documentation is added to DocView. The reindexing process is faster than the initial indexing.
The rundig command takes the following options: