Overview

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:

Verity operates in two modes

With the introduction of the high-performance K2 Server engine in ColdFusion, there are now two modes of operation for Verity searching:

ColdFusion uses K2 mode to search collections if the following conditions are met:

  1. The K2 Server is running. See "Starting K2 Server" for more details.
  2. The collection name you specify in the 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.

Quick start to K2 Server

To get K2 Server up and running on your system quickly, follow these steps:

  1. Edit the 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.
  2. Start K2 Server by running the k2server executable. See "Starting K2 Server" for details.
  3. Enter the hostname and port number for the server where the K2 server is running. See "Specifying K2 Server parameters in the ColdFusion Adminstrator" for details about the Administrator.

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.

Specifying K2 Server parameters in the ColdFusion Adminstrator

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.



Banner.Novgorod.Ru