K2 Server is a high-performance search engine designed to process searches quickly in a high performance, distributed system. The K2 search system has a client/server model. K2 client applications, such as ColdFusion applications, provide users access to document indexes stored in Verity collections.
K2 Server is a multi-threaded application built around the Verity search engine, providing access to Verity collections and tracking any changes made by indexing applications.
The K2 search system is designed to take advantage of the latest advances in hardware and software technology and provides the following features:
K2 is installed by default with ColdFusion server, but is activated manually by invoking a command file executable.
With the introduction of K2 Server, ColdFusion now supports two different modes of collection searching:
cfsearch
tag remains functionally unchanged.
cfsearch
tag remains functionally unchanged. By default, unless you configure ColdFusion to use K2 Server, ColdFusion uses VDK mode.
Note To use the K2 mode, you must edit the server registration file |
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.
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" 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: