CFCOLLECTION
The CFCOLLECTION tag allows you to create and administer Verity collections.
Syntax
<CFCOLLECTION ACTION="action"
COLLECTION="collection"
PATH="implementation directory"
LANGUAGE="language">
ACTION
Required. Specifies the action to perform:
- CREATE -- Creates a new collection using the specified path and optionally specified language.
- REPAIR -- Fixes data corruption in the collection.
- DELETE -- Destroys the collection.
- OPTIMIZE -- Purges and reorganizes data for efficiency.
- MAP -- Assigns an alias to an existing Verity collection.
COLLECTION
Required. Specifies a collection name.
PATH
Required for CREATE. Specifies a path to the Verity collection.
LANGUAGE
Optional for CREATE. To use the LANGUAGE attribute you must have the ColdFusion International Search Pack installed. Valid entries are:
- English (default)
- German
- Finnish
- French
- Danish
- Dutch
- Italian
- Norwegian
- Portuguese
- Spanish
- Swedish
Usage
CFCOLLECTION works at the collection level only. To add content to a collection, use CFINDEX.
Note the following regarding mapped collections:
- Mapping allows you to assign an alias to a Verity collection created by a tool other than ColdFusion.
- The ACTION, COLLECTION, and PATH attributes are required.
- The path must point to a valid Verity collection; mapping does not validate the path.
- Deleting a mapped collection unregisters the alias; the base collection is not deleted.
AllaireDoc@allaire.com
Copyright © 1998, Allaire Corporation. All rights reserved.