Indexing modes

Recoll indexing can be performed along two main modes:

  • Periodic (or batch) indexingrecollindex is executed at discrete times. On Unix-like systems, the typical usage is to have a nightly run programmed into your cron file. On Windows, this is the only mode available, and the Windows Task Scheduler can be used to run indexing. In both cases, the GUI includes an easy interface to the system batch scheduler.

  • Real time indexing(Only available on Unix-like systems). recollindex runs permanently as a daemon and uses a file system alteration monitor (e.g. inotify) to detect file changes. New or updated files are indexed at once. Monitoring a big file system tree can consume significant system resources.

Unix-like systems: choosing an indexing mode

The choice between the two methods is mostly a matter of preference, and they can be combined by setting up multiple indexes (ie: use periodic indexing on a big documentation directory, and real time indexing on a small home directory), or, with Recoll 1.24 and newer, by configuring the index so that only a subset of the tree will be monitored.

The choice of method and the parameters used can be configured from the recoll GUI: PreferencesIndexing schedule dialog.