Macromedia colfusion mx 7 Manual
Using the mkvdk utility
149
Bulk submit options
The mkvdk utility provides a variety of bulk submit options, as described in the following table:
Using bulk insert and delete options
The bulk submit feature supports the insertion of documents and related field values into
collections.
collections.
To use the bulk submit feature to populate fields:
1.
Define the fields in the style.sfl and style.ufl file, as appropriate.
2.
Create a bulk submit file that specifies the documents to insert and the field values for each
document.
document.
3.
Run the mkvdk utility using the
-bulk
option and specifying the bulk submit file or files.
-nosave
Specifies that a work list, which is generated by the mkvdk utility automatically
when you use the
when you use the
-extract
option, will not be saved in the collection directory in
a file called worklist (in the Verity bulk submit file format). By default, the mkvdk
utility saves the worklist in the worklist file.
utility saves the worklist in the worklist file.
-nosubmit
Specifies that a work list, which is generated by the mkvdk utility automatically
when you use the
when you use the
-extract
option, will not be submitted to the indexing engine
and will be saved in the collection directory in a file called worklist (in the Verity
bulk submit file format). This option allows the mkvdk utility to process field
extraction separately from other indexing tasks.
bulk submit file format). This option allows the mkvdk utility to process field
extraction separately from other indexing tasks.
Option
Description
-bulk
Interprets filespec as a bulk submit file. You can use this option with the
-insert
,
-update
, and
-delete
options.
-offset num
Specifies the offset into a bulk submit file or files. If you specify multiple bulk
submit files and use the
submit files and use the
-offset
option, the offset is applied to all of the bulk
submit files.
-numdocs num
Specifies the number of documents to insert or delete from the bulk insert file or
files. If you specify multiple bulk insert or delete files and use the
files. 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
Deletes the bulk submit file or files when the bulk submission work is finished.
Option
Description