eas restoring the registry
Restoring the registry
Maintaining the registry can be done by using the EAS command line tool eas. For all details eas, see the corresponding manual. In this howto, recommonded settings and maintenance operations are explained.
Rebuilding the index can be invoked as follows:
$ eas -c /path/to/store.ini -v --crawl
Attention: Use these options carefully, as the data in existing data in the registry will be deleted completely:
--crawl: Resets the registry completely and crawls the repository for rebuilding the registry.
Recommended settings
Recommended settings for rebuilding/updating an index. For a complete list see the eas documentation:
--incremental: Allows adding missing records and attachments to the registry. This is usefull, if the registry will be restored in stages. In this case, the existing registry will not be reset.--registry-batch-size: Specifies the number of entries kept in memory before they will be written to the registry. This might increase the performance, as the number of database accesses will be removed. But the hight the batch size is the more it is likely that a interruption of the crawling (e.g. by a HW defect) will cause a complete restore of the registry.--start-dir: Allows to set the crawler at a given start directory instead of the archive folder. This increases the performance when crawling stores of a greater size.