User Guide
308 Chapter 2: ColdFusion Tags
• Changed Verity operations behavior: ColdFusion supports Verity operations on Acrobat PDF
files.
• Changed multiple collection behavior: this tag can search multiple collections. In a multiple
collection search, you cannot combine collections that are registered with K2Server and
registered in another way.
• Changed acceptable collection naming: this tag accepts collection names that include spaces.
• Changed the following support: this tag supports Verity 2.6.1 and the LinguistX and ICU
locales.
• Changed thrown exceptions: this tag can throw the SEARCHENGINE exception.
Attributes
Usage
To permit application users to search Verity collections for non-standard strings, words or
characters (for example, "AB23.45.67" or "--->") that would otherwise cause an error, you can
create a text file that lists these elements and defines their formats for Verity. Name the file
style.lex and put copies of the file in these directories:
• Windows:
■ cf_root\lib\common\style (typically, cf_root = c:\cfusionmx)
■ cf_root\lib\common\style\custom
Attribute Req/Opt Default Description
name Required Name of the search query.
collection Required One or more path(s) and/or registered collection name(s).
For a registered collection, specify the collection name.
For an unregistered collection, specify an absolute path.
Registered names are listed in the ColdFusion Administrator,
Verity Collections and Verity Server pages.
To specify multiple collections, use a comma delimiter. For
example: "
CFUSER, e:\collections\personnel"
If you specify multiple collections, you cannot include a
combination of collections that are registered by K2Server and
registered by Verity.
type Optional simple • simple: STEM and MANY operators are implicitly used. See
Chapter 25, “Using Verity Search Expressions,” in Developing
ColdFusion MX Applications.
• explicit: operators must be invoked explicitly
criteria Optional Search criteria. Follows the syntax rules of the type attribute. If you
pass a mixed-case entry in this attribute, the search is case-
sensitive. If you pass all uppercase or all lowercase, the search is
case-insensitive. Follow Verity syntax and delimiter character rules;
see Chapter 25, “Using Verity Search Expressions,” in Developing
ColdFusion MX Applications
.
maxRows Optional All Maximum number of rows to return in query results. Use double or
single quotation marks.
startRow Optional 1 First row number to get.
language Optional english For options, see cfcollection on page 80. Requires the
ColdFusion International Search Pack.