User Guide

92 Chapter 8: Managing Collections with the mkvdk Utility
Collection setup options
The mkvdk utility has a variety of collection setup options, which the following table describes:
Examples: setting up collections
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
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
-create option. If you do not
specify this option when you use the mkvdk utility to create a collection, the
mkvdk utility uses the style files in the common/style directory.
-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.