The mkvdk utility has a variety of collection setup options, which the following table describes:
Option | Description |
---|---|
-create |
Creates a collection in the specified collection directory. It creates the directory structure, determines the index contents and sets up the document's table schema according to the style files used. If the specified collection already exists, the mkvdk utility exits rather than overwriting the existing collection. |
-style dir |
Specifies the style directory that contains the style files to use to create a collection. This option can only be used with the |
-description desc |
Sets the collection's description. Enter alphanumeric text, such as "This collection contains electronic mail from ABC Company." Include the quotation marks. |
-words |
Builds the word list for all partitions in the collection. |
The following examples show the commands for creating a collection and building the word list:
Creating a collection The following command creates a collection in path_2 using the style files in path_1, and submits and indexes the document(s) in filespec:
mkvdk -create -style path_1 -collection path_2 filespec
Building the word list The following command builds the word list in the collection residing in the path directory:
mkvdk -words -collection path