Contents > Configuring and Administering ColdFusion MX > Managing Collections with the mkvdk Utility > Getting started with the Verity mkvdk utility > Creating a collection PreviousNext

Creating a collection

Creating a collection with the mkvdk utility involves setting up a collection directory structure and inserting documents into this structure. You can create a collection in two steps, using two separate commands.

To create a collection:

  1. Set up a collection using the following syntax:
    mkvdk -create -collection collectionname
    

    Where collectionname is the path to the collection directory. Running this command creates a collection directory that includes style files with configuration information.

  2. Insert documents using the following syntax:
    mkvdk -collection collectionname -bulk -insert filespec
    

    Where filespec is the name of a bulk insert file that specifies which documents to index and insert into the collection.

Alternatively, you can set up a collection and insert documents in one command, using the following syntax:

mkvdk -create -collection collectionname -bulk -insert filespec

Note: You can use the -create option only once to create the collection directory structure. After a collection directory structure has been created, do not to use the -create option to update the collection.


Contents > Configuring and Administering ColdFusion MX > Managing Collections with the mkvdk Utility > Getting started with the Verity mkvdk utility > Creating a collection PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.