188
Alternatively, you can set up a collection and insert documents in one
command, using this syntax:
mkvdk -create -collection collectionname -bulk -insert filespec
Note
The
structure. After a collection directory structure has been created, do not to use the
-create
Accessing online help for mkvdk
To display a list of
mkvdk -help
Collection setup options
mkvdk
Option
-create
-style dir
-description desc
-words
Examples: Setting up collections
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
option can be used only once to create the collection directory
-create
option to update the collection.
mkvdk
provides a variety of collection setup options, described in the following table:
Description
This option creates a collection in the specified -collection directory. It
creates the directory structure, determines the index contents and sets
up the documents table schema according to the style files used. If the
specified collection already exists, mkvdk exits rather than overwriting
the existing collection.
This option specifies the style directory that contains the style files to
use in creating a collection. This option can only be used with the
-create option. If you do not specify this option when you use mkvdk to
create a collection, mkvdk uses the style files in the common/style
directory.
This option sets the collection's description. Enter any alphanumeric text
you like, such as "This collection contains electronic mail from ABC
Company." Include the quotation marks.
This option builds the word list for all partitions in the collection.
Chapter 9 Managing Verity Collections with the mkvdk Utility
command-line options, enter:
mkvdk
Need help?
Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?