| Contents > Configuring and Administering ColdFusion MX > Searching Collections with K2 Server > The k2server.ini parameter reference > Collection sections |
|
|
|
|
||
The K2 Server initializes a separate search service for each collection that you identify in the server configuration file. To add one or more collections to the configuration file, enter a separate block of keywords for each collection, in the following format:
[Coll-n] collPath=<pathname> collAlias=<value> topicSet=<topicset> knowledgeBase=<knowledgeBase> numThreads=<value> maxFiles=<value> onLine=<value> maxColSize=<value> locale=<language> charMap=<charmap> inputDateFormat=<format>
Increment the block label for each collection that you configure, starting with Coll-0. The following table describes the keywords used to configure each collection and search service:
Keyword |
Description |
|---|---|
collPath |
The pathname identifying the collection home directory. |
collAlias |
An arbitrary name used to identify the collection. |
topicSet |
The pathname to a directory for the default topic set, which is an indexed set of topics. The value of the topicSet parameter identifies the default topic set to make available to clients by every search service at startup. If not specified, the value of topicSet from the server section is used. |
knowledgeBase |
The pathname to a knowledgeBase map file, which identifies numerous topic sets (indexed topics). The value of the knowledgeBase parameter identifies the topic sets (multiple) to make available to clients for every search service at startup. If not specified, the value of the knowledgeBase parameter from the [server] section is used. |
numThreads |
The number of concurrent searches for the collection. If not specified, the value of numThreads from the [server] section is used. |
maxFiles |
The maximum number of files that can be opened by a specific search thread for a collection. If not specified, the value of the maxFiles parameter from the server section is used. The maxfiles and numThreads values together can be used to tune system performance. The following values can be set for a collection:
These entries for collection 0 cause K2 Server to support a maximum of 4 concurrent searches, with 100 file handles allocated for each search thread. |
onLine |
A flag indicating whether the server starts up with the collection on-line. Valid values include:
In the hidden state, collections can be primed and tested, but are not yet available for searching by users. When collections are set offline, any queries currently running complete using these resources; subsequent queries do not see the resource. |
maxColSize |
The maximum width of the fields to return to the results list, in bytes. If not specified, the value of maxColSize from the server section is used. |
locale |
The name of the locale (combination of language, dialect, and character set) to use for all internal Verity engine operations. This name must correspond to a subdirectory in the common directory where the configuration file for the locale is found and where the message database and other locale-specific files are located. If not specified, the value of the locale parameter from the server section is used. |
charMap |
A string that names the character set to use for strings that are sent into the server and generated by the server. This string must match the name of a .cs file in the root of the common directory that configures a character set and its mappings. If not specified, the value of the charMap parameter from the server section is used. For example, if your application uses character set 8859 for all of its interactions with the server, set this charMap parameter to the string 8859. Valid values include, but are not limited to, the character sets supplied by Verity: 850 (default) for code page 850; 8859 for code page 8859 |
inputDateFormat |
The input date format to be used. If there is no specified value for the inputDateFormat parameter, the default is MDY (Month-Day-Year), a numeric format. |
|
|
||
| Contents > Configuring and Administering ColdFusion MX > Searching Collections with K2 Server > The k2server.ini parameter reference > Collection sections |
|
|
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.