shots/contents.gifshots/index.gifshots/prev1.gifshots/next1.gif

Searching for Terms in Fields

Field searching is useful when you believe that limiting your search to a particular field will produce more accurate search results.

Note

Some applications help you perform field searches with special forms that incorporate the correct Verity Query Language syntax. For example, this sample form is designed to perform field searches over an email collection:

shots/sea00023.gif

CONTAINS Operator

If document fields have been defined for the collection you are searching, you can use the CONTAINS operator to search for terms in fields. Like other relational operators, the CONTAINS operator accepts words, phrases, and wildcards, but it does not accept nonalphanumeric characters like hyphens. For example, if you are looking for information on the Grammy awards, you can issue this query to search for grammy in the title field to find pages have the Grammy awards as their primary focus.

shots/sea00024.gif

Note

Field searches require an exact match of the query term to appear in the results list. In contrast, zone searches can find pages containing stemmed variations of the search term if it is not enclosed in double quotation marks. In this example, the matching pages contain only Grammy, not Grammys.

shots/contents.gifshots/index.gifshots/prev1.gifshots/next1.gif