Rules for Nested Expressions

Build 1501 on 14/Nov/2017  This topic last edited on: 26/Feb/2016, at 14:25

This applies only on CHM help. See Downloading GN4 help and Installing GN4 help on your hard disk.

The basic rules for searching topics using nested expressions are as follows:

You can use parentheses to nest expressions within a query. The expressions in parentheses are evaluated before the rest of the query.

If a query does not contain a nested expression, it is evaluated from left to right. For example, "Control NOT active OR dde" finds topics containing the term "control" without the term "active", or topics containing the term "control" and not "dde". (On the other hand, "control NOT (active OR dde)" finds topics containing the term "control" without either of the terms "active" or "dde".)

Nesting allows you to create more complex search expressions. For example, "control AND ((active OR dde) NEAR window)" finds topics containing the term "control" along with the terms "active" and "window" close together, or containing "control" along with the terms "dde" and "window" close together.

You cannot nest expressions more than five levels deep.