User Guide
About K2 Server 119
Note
To use the K2 mode, you must edit the server registration file
k2server.ini,
configure ColdFusion to use K2 Server, and r
estart the K2 Server executable,
k2server.exe.
How ColdFusion determines which mode to use
ColdFusion determines the Verity Search mode by comparing the collection name
specified in the
cfsearch tag against the local registry. If the collection name is
found, then the normal VDK search will be conducted. Collection names are written
to the registry by calls to the cfcollection tag and represent “ColdFusion Aware”
Verity collections created or mapped to existing collections. If the collection name is
not found, ColdFusion uses K2 Server to conduct the search.
Collections created with ColdFusion
Verity collections created either through the ColdFusion Administrator or through
the use of the
cfcollection tag are structured differently from those created using
native Verity tools. Collections created with tools other than ColdFusion are known
as external collections. ColdFusion uses a different directory structure when creating
collections, from those created using native Verity tools like
mkvdk (see Chapter 9,
“Managing Verity Collections with the mkvdk Utility” on page 185 for more
information on
mkvdk).
For example, the
cfdocumentation collection created to enable searching online
ColdFusion documentation files consists of two subdirectories that are not created
in external Verity collections: