User Guide

Getting started with the Verity mkvdk utility 97
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.
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.
3 Run the mkvdk utility using the -bulk option and specifying the bulk submit file or files.
Collection maintenance options
The mkvdk utility provides a variety of collection maintenance 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.
Option Description
-backup dir
Backs up the collection into the specified directory. The backup does not include
the tde subdirectory. The tde subdirectory is created by and for Topic Document
Entry if Topic Document Entry is used to create or maintain the collection.
-repair
Repairs the collection, performed by an API call.
-purge
Waits the amount of time specified by the -purgewait option and then deletes all
documents in the collection, but not the collection itself. It leaves the collection
directory structure intact.
To specify a different wait period, use the
-purgewait option instead of the
-purge option. If you do not use the -purgewait option, the default is 600
seconds.
-purgeback
Used with the -purge option, performs a purge in the background.
-purgewait sec
Specifies to the -purge option how many seconds to wait. If you do not specify
sec, the default is 600.
-noservice
Prevents collection servicing, which includes indexing, by this instance of the
mkvdk command, performed by an API call.