Allows you to create and administer Verity collections.
<cfcollection action = "create" or "repair" or
"delete" or "optimize" or "map"
collection = "collection_name"
path = "path_of_verity_directory"
language = "English" or "German" or "Finnish" or "French" or "Danish"
or "Dutch" or "Italian" or "Norwegian" or "Portuguese" or "Spanish"
or "Swedish">
cfexecute, cfindex, cfgraph, cfobject, cfreport, cfsearch, cfservlet, cfwddx
cfcollection works only at the collection level. To add content to a collection, use cfindex.
Note the following regarding mapped collections:
action, collection, and path attributes are required.<!--- This example shows the basic functionality
of the cfcollection tag (create, repair, optimize, delete) --->
<html>
<head>
<title>cfcollection</title>
</head>
<body bgcolor = silver>
<H3>cfcollection</h3>
<!--- see if a collection name has been specificied ... --->
<cfif IsDefined("form.CollectionName") AND
IsDefined("form.CollectionAction")>
<cfif form.CollectionName is not "">
<cfoutput>
<cfswitch expression = #form.CollectionAction#>
<cfcase value = "Create">
<cfcollection action = "create"
collection = "#form.CollectionName#"
path = "C:\CFUSION\Verity\Collections\">
<H3>Collection created.</H3>
</cfcase>
<cfcase value = "Repair">
<cfcollection action = "repair"
collection = "#form.CollectionName#">
<H3>Collection repaired.</H3>
</cfcase>
<cfcase value = "Optimize">
<cfcollection action = "optimize"
collection = "#form.CollectionName#">
<H3>Collection optimized.</H3>
</cfcase>
<cfcase value = "delete">
<cfcollection action = "delete"
collection = "#form.CollectionName#">
<H3>Collection deleted.</H3>
</cfcase>
</cfswitch>
...