| Contents > Developing ColdFusion MX Applications > Using Verity Search Expressions > Using explicit queries |
|
|
|
|
||
In an explicit query, the Verity search engine literally interprets your search terms. The following are two ways to perform an explicit query:
type="explicit" in the cfsearch tag.When you put a search term in quotation marks Verity does not use the STEM operator. For example, a search for "instructional"--enclosed in quotation marks, as shown in Preventing stemming--does not return files that contain instruct, instructs, instructions, and so on (unless the files also contain instructional).
When you specify type="explicit" the search expression must be a valid Verity Query Language expression. As a result, an individual search term must be in explicit quotation marks. The following table shows valid and invalid criteria.
Attribute |
Effect |
|---|---|
criteria="government" |
Generates an error |
criteria="'government'" or criteria='"government"' |
Finds only government |
criteria="<WORD>government" |
Finds only government |
criteria="<STEM>government" |
Finds government, governments, and governmenta |
criteria="<MANY><STEM>government" |
Finds government, governments, and governmental ranked by relevance |
criteria="<WILDCARD>governmen*" |
Finds government, governments, and governmental |
|
|
||
| Contents > Developing ColdFusion MX Applications > Using Verity Search Expressions > Using explicit queries |
|
|
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/indexsa6.htm