User Guide
Table Of Contents
- Contents
- Introduction
- Administering ColdFusion MX 7
- Administering ColdFusion MX
- Using the ColdFusion MX Administrator
- Contents
- Initial administration tasks
- Accessing user assistance
- Server Settings section
- Data & Services section
- Debugging & Logging section
- Extensions section
- Event Gateways section
- Security section
- Packaging and Deployment section
- Enterprise Manager section
- Custom Extensions section
- Administrator API
- Data Source Management
- Contents
- About JDBC
- Adding data sources
- Connecting to DB2 Universal Database
- Connecting to Informix
- Connecting to Microsoft Access
- Connecting to Microsoft Access with Unicode
- Connecting to Microsoft SQL Server
- Connecting to MySQL
- Connecting to ODBC Socket
- Connecting to Oracle
- Connecting to other data sources
- Connecting to Sybase
- Connecting to JNDI data sources
- Web Server Management
- Deploying ColdFusion Applications
- Administering Security
- Using Multiple Server Instances
- Administering Verity
- Introducing Verity and Verity Tools
- Indexing Collections with Verity Spider
- Using Verity Utilities
- Contents
- Overview of Verity utilities
- Using the mkvdk utility
- Using the rck2 utility
- Using the rcvdk utility
- Using the didump utility
- Using the browse utility
- Using the merge utility
- Index

144 Chapter 10: Using Verity Utilities
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 using the following steps.
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.
Collection setup options
The mkvdk utility has a variety of collection setup options, which the following table describes:
Examples: setting up collections
The following examples show the commands for creating a collection and building the word list:
Creating a collection The following command creates a collection in path_2 using the style
files in path_1, and submits and indexes the document(s) in filespec:
mkvdk -create -style path_1 -collection path_2 filespec
Building the word list The following command builds the word list in the collection residing in
the path directory:
mkvdk -words -collection path
Option Description
-create
Creates a collection in the specified collection directory. It creates the directory
structure, determines the index contents and sets up the document’s table
schema according to the style files used. If the specified collection already
exists, the mkvdk utility exits rather than overwriting the existing collection.
-style dir
Specifies the style directory that contains the style files to use to create a
collection. This option can only be used with the
-create option. If you do not
specify this option when you use the mkvdk utility to create a collection, the
mkvdk utility uses the style files in the common/style directory.
-description desc
Sets the collection’s description. Enter alphanumeric text, such as “This
collection contains electronic mail from ABC Company.” Include the quotation
marks.
-words
Builds the word list for all partitions in the collection.