ColdFusion Server 5 includes an OEM restricted version of the Verity K2 Server, which incorporates a highly scalable search server architecture. K2 supports simultaneous indexing of distributed enterprise repositories and handles hundreds of concurrent queries and users. You will see considerable performance improvements when using K2 Server to search Verity collections.
The version of K2 Server that is part of ColdFusion 5 is restricted in the following areas:
With the introduction of the high-performance K2 Server engine in ColdFusion, there are now two modes of operation for Verity searching:
k2server.ini
file to specify unique collections for searching with K2 Server, and edit the ColdFusion Administrator Verity Server page to configure ColdFusion to use the K2 Server. ColdFusion uses K2 mode to search collections if the following conditions are met:
cfsearch
tag has been specified in the k2server.ini
file and is unique, that is, the collection name is not used in any Verity collections that are configured for use by ColdFusion. Check the ColdFusion Administrator Verity Collections page for possible name conflicts.To get K2 Server up and running on your system quickly, follow these steps:
k2server.ini
file to specify the unique collection names you want to expose to the K2 Server. See "Editing the k2server.ini File" for details.
k2server
executable. See "Starting K2 Server" for details.
Collections that will be used by K2 Server during a search are required to be registered for use by that K2 Server. This is accomplished by editing the K2 Server k2server.ini
file. Note that K2 server must be stopped and restarted before this file is read and the K2 collections are ready to be used.
You use the Verity Server page in the ColdFusion Administrator to specify the hostname and port number for the K2 Server you want to use.
Make sure that the k2server.exe is running on the host you specify in the Verity Server hostname field. Also, the port number you enter must correspond with the port number you specify in the k2server.ini
file. The default port number value in the k2server.ini file is 9901.