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.

View comments on LiveDocs