HP StorageWorks Reference Information Storage System V1.1 User Guide (February 2005)

Query expression examples Chapter 6:
Query syntax and matching
HP StorageWorks Reference Information Storage System User Guide, February 2005 6-13
peace AND ( NOT quiet )
peace && -quiet
-quiet && peace
The word peace but not quiet.
Boolean query
expressions
, on
page 6-9
peace AND quiet OR silence Avoid using. Parentheses are
needed: peace AND ( quiet OR
silence ).
Boolean query
expressions
, on
page 6-9
quiet OR silence AND peace Avoid using. Parentheses are
needed: quiet OR ( silence AND
peace ).
Boolean query
expressions
, on
page 6-9
pea* Any word starting with pea such
as: pea, peas, peace, or peach.
Matching words
, on
page 6-6
pea*c* Words such as: peace, peach, or
peaches.
Matching words
, on
page 6-6
"peace quiet" Both peace and quiet, in that
order, with no intervening
words. Examples: peace quiet or
peace $^%+{} quiet.
Matching word
sequences
, on
page 6-8
"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;
or peace george quiet.
Matching word
sequences
, on
page 6-8
peace~ Words similar to peace such as:
peaches, piece, place, or plate.
Matching similar
words
, on page 6-7
( peace quiet )
AND
( NOT "peace quiet" )
Both peace and quiet, but not
peace followed immediately by
quiet. Examples: quiet peace; quiet
blue peace; or peace, water, land,
quiet.
Matching word
sequences
, on
page 6-8
and
Boolean
query expressions
,
on page 6-9
Table 6-2: Query Expression Examples (Continued)
Query Expression Finds Documents With . . . Reference(s)