Operator modifiers

The Verity query language includes modifiers that you can use with the operators to refine a search. The modifiers are described in Table 5-6.

Table 5-6: Verity operator modifiers

Modifier name

Description

Works with

these operators

Example

case

Performs case-sensitive searches. If you enter search terms in mixed case, the search is automatically case sensitive.

wildcard

word

<case><word>(Net)

many

Counts the number of times that a word, stemmed word, or phrase occurs in a document. Relevance-ranks the document according to its density.

paragraph

phrase

sentence

stem

word

wildcard

<many><stem>(write)

not

Excludes documents that contain the items for which the query is searching.

and

or

cat<and><not>elephant

order

Specifies that the items in the documents occur in the same order in which they appear in the query.

Always place the order modifier just before the operator

near/n

paragraph

sentence

Simple syntax:

tidbits<order><paragraph>king

Explicit syntax:

<order><paragraph>(tidbits,king)