Contents > Developing ColdFusion MX Applications > Using Verity Search Expressions > About Verity query types PreviousNext

About Verity query types

When you search a Verity collection, you can use either a simple or explicit query. The following table compares the two types:


Query type


Content

Use of operators
and modifiers


CFML example

Simple

One or more words

Uses STEM operator and MANY modifier, by default

<cfsearch name = "band_search"
   collection="bbb" 
   type = "simple"
   criteria="film">

Explicit

Words, operators, modifiers

Must be specified

<cfsearch name = "my_search"
   collection="bbb"
   type = "explicit"
criteria="<WILDCARD>'sl[iau]m'">

The query type determines whether the search words that you enter are stemmed, and whether the retrieved words contribute to relevance-ranked scoring. Both of these conditions occur by default in simple queries. For more information on the STEM operator and MANY modifier, see Stemming in simple queries.

Note: Operators and modifiers are formatted as uppercase letters in this chapter solely to enhance legibility. They might be all lowercase or uppercase.


Contents > Developing ColdFusion MX Applications > Using Verity Search Expressions > About Verity query types PreviousNext

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.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/indexsa2.htm