About Verity query types

When you search a Verity collection, you can use a simple, explicit, natural, or Internet query. The following table compares the query 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'">

Natural

One or more words

Uses STEM operator and MANY modifier, by default

<cfsearch name = "my_search"

collection="bbb"

type = "natural"

criteria="Boston subway maps">

Internet

Words, operators, modifiers

 

<cfsearch name = "my_search"

collection="bbb"

type = "Internet"

criteria="Boston subway maps">

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 here solely to enhance legibility. They might be all lowercase or uppercase.