HP StorageWorks Reference Information Storage System V1.0 User Guide (May 2004)
LO
Chapter 5:
Query Syntax and Matching
Query Expression Examples
5-14 HP StorageWorks Reference Information Storage System User Guide, April 2004
peace | quiet Both peace and quiet. | is a
separator. The AND operator is
implied.
Word Characters
, on
page 5-3
and
Boolean
Query Expressions
,
on page 5-10
peace AND ( NOT quiet )
peace && -quiet
-quiet && peace
The word peace but not quiet.
Boolean Query
Expressions
, on
page 5-10
peace AND quiet OR silence Avoid using. Parentheses are
needed: peace AND ( quiet OR
silence ).
Boolean Query
Expressions
, on
page 5-10
quiet OR silence AND peace Avoid using. Parentheses are
needed: quiet OR ( silence AND
peace ).
Boolean Query
Expressions
, on
page 5-10
pea* Any word starting with pea such
as: pea, peas, peace, or peach.
Matching Words
, on
page 5-7
pea*c* Words such as: peace, peach, or
peaches.
Matching Words
, on
page 5-7
"peace quiet" Both peace and quiet, in that
order, with no intervening
words. Examples: peace quiet,
peace and quiet (because and is
lowercase and a stop word), or
peace $^%+{} quiet.
Matching Word
Sequences
, on
page 5-9
"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 5-9
peace~ Words similar to peace such as:
peaches, piece, place, or plate.
Matching Similar
Words
, on page 5-8
( 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. This rules out peace and
quiet because and is a stop word.
Matching Word
Sequences
, on
page 5-9
and
Boolean
Query Expressions
,
on page 5-10
Table 5-2: Query Expression Examples (Continued)
Query Expression Finds Documents With . . . Reference(s)