4.5.1. Configuration

A background task runs in the AppServer that is used to update indexes if they are not compatible with the software version used. The name of this task is UpgradeIndexTask. It can be configured in pappserver.cfg.

The TimeTable key can be used to control when the task should run. The OnCatalogInstalled trigger means that it is started after a catalog installation. The specification "1h+30m" means that it is also started every hour. Namely at 0:30, 1:30, 2:30, etc.

Per index can be set which actions should be performed. The following actions are possible:

Upgrade

The task checks if the version of the index matches the software version. If not, the index is updated.

CleanUp

The task deletes indexes that are no longer needed.

If an index is newly created, then it is stored in a new subdirectory (with a new identifier). The subdirectory with the old identifier can be deleted in this case.

e.g. indextext_6omke6ohlb is replaced by indextext_ekhke4zmlx. In that case indextext_6omke6ohlb can be deleted. The old directory is not deleted immediately, but after a short waiting period. The reason for this is that the search engine must first switch to the new directory. The waiting time is set via the CleanUpWait key.

CopyCacheThe index is copied to the cache directory if there is a new index in the index directory. (Only relevant for full-text search index and only if caching is enabled).
CleanUpCacheThe task deletes indexes from the cache that are no longer needed