System information
154
CONFIGURING AND ADMINISTERING COLDFUSION 9
Using Verity Utilities
Last updated 2/21/2012
Examples: processing documents
The following examples show the commands for processing documents.
Using the default options
By default, the mkvdk command submits and indexes documents specified in the command, and services the specified
collection. The following command executes the default options:
mkvdk -collection path filespec
Servicing only
The following command performs servicing only. Use this command to only index submitted documents and service
the collection:
mkvdk -collection path
Deleting documents from a collection
The following command deletes documents from a collection:
mkvdk -delete -collection path filespec
Bulk inserting or deleting
The following command specifies bulk insertion of a list of documents:
mkvdk -collection coll -bulk -insert filespec
Where filespec is the list of files to insert. Since insert is the default, the following command is equivalent to the
preceding command:
mkvdk -collection coll -bulk filespec
The following command specifies bulk deletion of a list of documents:
mkvdk -collection coll -bulk -delete filespec
Where filespec is the list of files to delete. It can be the same file used to insert documents; the only difference is that -
delete is specified instead of -insert (or no specification).
Date format options
The Verity engine supports many import date formats, including many textual date formats, and the numeric date
formats listed in the following table:
-locale name Specifies the name of the Verity locale for the mkvdk utility. The locale name must correspond to the name of an
existing locale directory, which must exist in the install_dir/common/locale directory. Valid options are english,
deutsch, and francais. The default is english.
-datefmt format Converts a date field value into Verity’s internal data representation. You can use this option with the mkvdk
options
-extract (for the field extraction feature) and -bulk (for the bulk submit feature). The named format
string identifies to the date parsing routines in what order dates are written when the date string only consists of
a sequence of numbers (for example, 03/03/96). Valid options are described in
“Date format options” on
page 154. The default is MDY.
-servlev level Specifies service level. The specifier, level, is a string consisting of keywords separated by hyphens, such as search-
index-optimize. Valid keywords are described in
“Service-level keyword options” on page 155.
Option Description