Index Load configuration files for merging indexes
Index Load requires configuration files before it can merge search indexes.
Base merge configuration file (wc-indexload-merge-base.xml)
The wc-indexload-merge-base.xml file contains business object configurations. You can find a sample version of this file as server.config.dir/resources/search/index/indexload/wc-indexload-merge-base.xml directory.
Merge configuration file (wc-indexload-merge.xml)
The wc-indexload-merge.xml file contains configurable performance attributes and load item configurations. For more information about the configurable performance attributes, see Tuning Index Load.
It can contain one or multiple LoadItem definitions, with every LoadItem configuration specifying the specific LoadItem configuration and coreName target. Multiple LoadItems are run in parallel, without sequence.
The following configurable performance attributes apply to merge configuration files:
- DataTargetLocation
- The location of the index data directory of the final merged index, relative to the core's instance directory.
- DataDirectoryScanInterval
- The number of seconds to wait between each checking of the index data directory. This interval ensures that all index data directories are ready before they are merged.
- DataDirectoryScanRetries
- The number of times to check for the availability of the index data directory. This ensures that all index data directories are ready before they are merged.
- OptimizeAfterMerge
- Indicates whether Index Load performs index optimization after they are merged.
- ActivateAfterMerge
- Indicates whether Index Load attempts to swap in the merged index data directory to be the active index of the target core upon a successful merge. Done by reloading the core by using the index.properties file.