HP StorageWorks Reference Information Storage System V1.4 User Guide (T3559-96028, December 2005)

Table 24 Q uery expression examples
Query expression
Finds do cuments with ...
peace OR quiet
Either peace or
quiet, or both, in either order.
peace quiet
peace AND quiet
peace && quiet
Both peace and quiet,ineitherorder.
peace&&quiet
Thesinglewordpeace&&quiet.
peace or quiet
The three words peace, or,andquiet, in any order. or is a word. The OR
operator must be uppercase.
not quiet
The words not and quiet. The NOT operator must be uppercase.
NOT quiet
Illegal. A query cannot be purely negative and must have some positive
expression.
NOT NOT quiet
Illegal. Pa
rentheses are needed: NOT (NOT quiet).
peace & quiet
The three words peace , &,andquiet,inanyorder. & is a word character. The
AND operator is implied.
peace | quiet
Both peace and quiet. | is a separator. The AND operator is implied.
peace AND (NOT
quiet)
peace && -quiet
-quiet && peace
The word peace but not quiet.
peace AND quiet OR
silence
Avoid using. Parentheses are needed: peace AND (quiet OR silence).
quiet OR silence
AND peace
Avoid using. Parentheses are needed: quiet OR (silence AND peace).
pea*
Any word s
tarting with pea such as: pea, peas, peace,orpeach.
pea*c*
Words such as: peace, peach,orpeaches.
"peace quiet"
Both peace and quiet, in that order, with no intervening words. Examples: peace
quiet or peace $^%+{} quiet.
"peace quiet"~1
Both peace and quiet, in that order, separated by at most one word. Examples:
peace and quiet; peace, now;%^$ quiet; peace quiet;orpeacegeorgequiet.
peace~
Words similar to peace such as: pe aches, piece, place,orplate.
(peace quiet)
AND
(NOT "peace
quiet")
Both peace and quiet,butnotpeace followed immediately by quiet.Examples:
quiet peace; quiet b lue peac e;orpeace, water, land, quiet.
Reference Information Storage System User Guide
77