GetK2ServerDocCountLimit

Description

Gets the maximum number of documents that the ColdFusion registered K2 Server is permitted to return from a search.

This function is used primarily by the ColdFusion Verity and K2Server Administrator pages. This function uses Verity K2Server Release K2.2.0.

Return value

Number of collection metadata items that the K2 server permits, as an integer

Category

Full-text search functions, Query functions

Syntax

GetK2ServerDocCountLimit() 

See also

GetK2ServerDocCount

History

New in ColdFusion MX: This function is new.

Usage

If a search generates a larger number of documents than the limit, ColdFusion puts a warning message in the Administrator and in the log file.

The restricted version of K2 Server version that is installed with ColdFusion has the following document search limits:

K2Broker with ColdFusion MX has no limit.

Example

<cfoutput>GetK2ServerDocCountLimit =
$*#GetK2ServerDocCountLimit()#*$</cfoutput>

Comments