HP IAP Version 2.0 User Guide (November 2008)

Boolean operators must be surrounded by one or more separators, typically white space. Fo r example,
the query peas&&carrots is not equivalent to the query peas && carrots; peas&&carrots is a
single word (& isawordcharacter).
Negation operators (- and !) are exceptions to this rule. They must be preceded by a separator, but they
need not be followed by a separator. For example, carrot-a6 is a single query word, but carrot
-a6,likecarrot (- a6), is equivalent to the Boolean expression carrot AND (NOTa6).
Nested Boolean query expressions
You can nest Boolean query expressions using B oole a n expressions as arguments of Boolean expressions.
For example, the following query searches for documents containing bird,butnotgarden or stone:
bird AND NOT (garden OR stone)
Query expression examples
The following are examples of query expressions.
44
Query expression syntax and matching