User Guide

Using the Verity merge Utility 211
Using the Verity merge Utility
The merge utility lets you combine multiple collections with identical schemas. This
is useful for merging smaller collections built from different sources into one, large
collection. Also, you can use the
merge utility to break up the collection into smaller
collections of a roughly uniform size.
Note
The Verity merge utility is available only on Windows platforms.
It is important to note that collections can be merged only if they have identical
schemas. Collections can be merged if they have exactly the same set of style files
(and style file entries).
Breaking up a large collection helps to optimize search performance, because it
allows many applications to perform multiple concurrent search requests over the
different collections. After breaking up a large collection, you can also discard older
collections to reclaim limited disk storage space.
merge can be found in the ColdFusion bin directory: cfusion\bin.
To obtain help for the merge utility, enter the following command:
merge -help
Note
After running the merge utility, you must optimize the collection, using the
mkvdk
-optimize option.
For example:
c:\cfusion\bin\merge /common = c:\cfusion\verity\common
Merging collections using the merge utility
The following is the syntax for using the merge utility to merge multiple collections
into a single collection:
merge <newCollection> <srcCollection1> <srcCollection2>
[srcCollectionN]
The utility reads srcCollection1, srcCollection2 and so on and merges them into
a single collection with the directory name given for newCollection If the directory
name given for newCollection doesnt exist, then it is created.
Splitting collections
The following is the syntax for using the merge utility to split a single large collection
into smaller collections.
merge -split <srcCollection> <newCollection1> <newCollection2>
[-number]