User Guide

Getting Started with the Verity mkvdk Utility 187
To calculate the numeric parameter, add up the numbers for the message types you
want to include. The default for both
-outlevel and -loglevel is 15, which selects
fatal, error, warning, and status messages (1+2+4+8).
Getting Started with the Verity mkvdk Utility
The basic mkvdk syntax is as follows:
mkvdk -collection path [option] [...] [filespec] [...]
Where:
Square brackets ( [] ) indicate optional items.
An ellipsis (...) indicates repetition of the previous item. Thus,
[filespec]
[...]
indicates an optional series of filespec items.
filespec can be a document filename or a list of document filenames. If
filespec is a list of files, it should consist of an at-sign (@) followed by the
filename containing the list, as in
@filelist.
The -collection path argument is required to create or open a collection.
Numerous optional syntax options are listed below. All syntax options must precede
the first filespec parameter.
Steps for building a collection
Building a collection with mkvdk involves setting up a collection directory structure
and inserting documents into this structure. You can build a collection in two steps,
using two separate mkvdk commands, as follows.
1 Set up a collection using this syntax:
mkvdk -create -collection collectionname
Where collectionname is the path to the collection directory. After running this
command, a collection directory is created including style files with
configuration information.
2 Insert documents using this syntax:
mkvdk -collection collectionname -bulk -insert filespec
Where filespec is the name of a bulk insert file which specifies which
documents to index and insert into the collection.
Status 8
Info 16
Verbose 32
Debug 64
Type Number