MACROMEDIA COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual page 144

Hide thumbs Also See for COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

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:
Set up a collection using the following syntax:
1.
mkvdk -create -collection collectionname
Where
collectionname
a collection directory that includes style files with configuration information.
Insert documents using the following syntax:
2.
mkvdk -collection collectionname -bulk -insert filespec
Where
filespec
insert into the collection.
Collection setup options
The mkvdk utility has a variety of collection setup options, which the following table describes:
Option
-create
-style dir
-description desc
-words
Examples: setting up collections
The following examples show the commands for creating a collection and building the word list:
Creating a collection
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 path directory:
mkvdk -words -collection path
144
Chapter 10: Using Verity Utilities
is the path to the collection directory. Running this command creates
is the name of a bulk insert file that specifies which documents to index and
Description
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.
Specifies the style directory that contains the style files to use to create a
collection. This option can only be used with the
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.
Sets the collection's description. Enter alphanumeric text, such as "This
collection contains electronic mail from ABC Company." Include the quotation
marks.
Builds the word list for all partitions in the collection.
The following command creates a collection in path_2 using the style
The following command builds the word list in the collection residing in
option. If you do not
-create

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLFUSION MX 7 - CONFIGURING AND ADMINISTERING COLDFUSION MX and is the answer not in the manual?

Table of Contents