Contents > Configuring and Administering ColdFusion MX > Introducing Verity Tools > Collection structure and ColdFusion MX PreviousNext

Collection structure and ColdFusion MX

Collections created in ColdFusion MX, either through the ColdFusion MX Administrator or by using the cfcollection tag, have different directory structures than external collections. An external collection is one created by a tool other than ColdFusion MX, such as the native Verity indexing tool mkvdk. For more information on mkvdk, see Managing Collections with the mkvdk Utility.

The directory structure of a collection that was created with ColdFusion MX consists of two subdirectories--custom and file--that are not present in external collections.

The type of index used dictates which folder is populated with index data. Based on the type attribute of the cfindex tag, the file folder is used for type="File" and for type="Path"; the custom folder is used for type="Custom". For more information on indexing, see Developing ColdFusion MX Applications.

The type information is important when you configure the collPath attribute of a collection in your k2server.ini file. The name of the external collection (for example, col_01) is C:\myColls\col_01. In contrast, the collection created by ColdFusion MX (cfdocumentation) actually contains two collections--C:\CFusionMX\Verity\Collections\cfdocumentation\file and C:\CFusionMX\Verity\Collections\cfdocumentation\custom. Using CFML tags, you only need to refer to cfdocumentation to access both the file and custom collections. However, since Verity tools, such as K2 Server, do not understand the ColdFusion MX collection structure, you must explicitly specify both the file collection and the custom collection in order for K2 Server to search collections created with ColdFusion MX.

For more information about configuring the collPath attribute, see Editing the k2server.ini file.


Contents > Configuring and Administering ColdFusion MX > Introducing Verity Tools > Collection structure and ColdFusion MX PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/introc4.htm