Advanced ColdFusion Administration
|
|
Managing Verity Collections with the mkvdk Utility
|
Bulk Submit Options
mkvdk
provides a variety of bulk submit options, described below. An overview to using the feature is described earlier under "Using Bulk Insert and Delete." For complete information about using bulk submit to insert, update, and delete documents, see Chapter 3.
Option |
Description |
-bulk
|
This option tells mkvdk to interpret filespec as a bulk submit file. The option can be used with -insert, -update, and -delete.
|
-offset num
|
This option specifies the offset into a bulk submit file or files. Note that if you specify multiple bulk submit files and use the -offset option, the offset is applied to all of the bulk submit files.
|
-numdocs num
|
This option specifies the number of documents to insert or delete from the bulk insert file or files. Note that if you specify multiple bulk insert or delete files and use the -numdocs option, the -numdocs setting is applied to all of the bulk insert or delete files.
|
-autodel
|
This option deletes the bulk submit file or files when the bulk submission work is finished.
|
Using bulk insert and delete
The bulk submit feature supports the insertion of documents and related field values into collections.
To use the bulk submit feature to populate fields, complete the following steps:
- Define the fields in the
style.sfl
and/or style.ufl
file, as appropriate.For more information about the style.sfl
/style.ufl
files, refer to Chapter 7, "Indexing XML Documents".
- Create a bulk submit file specifying the documents to insert and the field values for each document.
- Run
mkvdk
using the -bulk
option and specifying the bulk submit file or files.
Copyright © 2001, Macromedia Inc. All rights reserved. |
|