MACROMEDIA COLDFUSION 4.5-ADMINISTRING COLDFUSION SERVER Technical Information Page 157

  • Download
  • Add to my manuals
  • Print
  • Page
    / 174
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 156
152
CONFIGURING AND ADMINISTERING COLDFUSION 9
Using Verity Utilities
Last updated 2/21/2012
Where:
Brackets ( [ ] ) indicate optional items.
An ellipsis (...) indicates repetition of the previous item. Thus, [filespec] [...] indicates an optional series of filespec
items.
filespec represents a document filename or a list of document filenames. If filespec is a list of files, it should consist
of an at sign (@) followed by the filename containing the list (for example, @filelist).
The -collection path argument creates or opens a collection. This argument is required.
Numerous optional syntax options are listed. All syntax options must precede the first filespec parameter.
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.
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 provides the following collection setup options:
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 documents 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 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.
Page view 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 173 174

Comments to this Manuals

No comments