User Guide
GetK2ServerDocCountLimit 495
GetK2ServerDocCountLimit
Description
This function is deprecated.
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.
Returns
Number of collection metadata items that the K2 server permits, as an integer
Category
Full-text search functions, Query functions
Function syntax
GetK2ServerDocCountLimit()
See also
GetK2ServerDocCount
History
ColdFusion MX 6.1: Deprecated this function. It might not work, and it might cause an error, in
later releases.
ColdFusion MX: Added this function.
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:
• For ColdFusion MX Evaluation: 250,000
• For ColdFusion MX Developer: 10,000
• For ColdFusion MX Professional: 125,000
• For ColdFusion MX Enterprise: 250,000
• For ColdFusion MX with Macromedia Spectra: 750,000
K2Broker with ColdFusion MX has no limit.
Example
<cfoutput>GetK2ServerDocCountLimit =
$*#GetK2ServerDocCountLimit()#*$</cfoutput>