Macromedia colfusion mx 7 Manual

Descargar
Página de 170
146
Chapter 10:  Using Verity Utilities
Examples: processing documents
The following examples show the commands for processing documents.
Using the default options
By default, the mkvdk command submits and indexes documents specified in the command, and 
services the specified collection. The following command executes the default options:
mkvdk -collection path filespec
Servicing only
The following command performs servicing only. Use this command to only index submitted 
documents and service the collection:
mkvdk -collection path
Deleting documents from a collection
The following command deletes documents from a collection:
mkvdk -delete -collection path filespec
-noindex
Prevents indexing by this instance of mkvdk. Documents are not inserted or 
deleted. Using this option turns off the service-level VdkServiceType_Index. 
(Service types are described under 
-nooptimize
.)
-charmap name
Specifies the name of the character set to which to map all strings for your 
application. Set this to a character set that your system can display properly. 
Using the search engine with the English locale, the character set that any 
version of Windows displays is 8859. This is NOT the name of the character set 
of documents being indexed, it is only the name of the character set that your 
display can handle properly. (The character set of the document is set in the 
style.dft file using the /charmap option.) 
Valid options are 850 and 8859. The default is no mapping.
-locale name
Specifies the name of the Verity locale to be used by the mkvdk utility. The locale 
name must correspond to the name of an existing locale directory, which must 
exist in the install_dir/common/locale directory. Valid options are english, 
deutsch, and francais. The default is english.
-datefmt format
Converts a date field value into Verity’s internal data representation. You can use 
this option in conjunction with the mkvdk options 
-extract
 (for the field 
extraction feature) and 
-bulk
 (for the bulk submit feature). The named format 
string identifies to the date parsing routines in what order dates are written when 
the date string only consists of a sequence of numbers (for example, 03/03/96). 
Valid options are described in 
. The default is 
MDY.
-servlev level
Specifies service level. The specifier, level, is a string consisting of keywords 
separated by hyphens, such as search-index-optimize. Valid keywords are 
described in 
Option
Description