Adobe ColdFusion 8

Bulk submit options

The mkvdk utility provides a variety of bulk submit options, as described in the following table:

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 -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 -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.

Using bulk insert and delete options

The bulk submit feature supports the insertion of documents and related field values into collections.

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.
  3. Run the mkvdk utility using the -bulk option and specifying the bulk submit file or files.