Previous Topic

Book Contents

Book Index

Next Topic

Priority of Operators

The logical (boolean) operators, which define the relationships between condition rows on the same level, have a various priority. It affects the evaluation of the whole complex condition to a great extent. A user should take this into account when defining a condition in the Expert Search.

Example:

  • A and B or C and D

    First the "A and B" and "C and D" conditions (before the "OR" operator) are processed, then the OR operator is evaluated.

 

Operator

Priority of Evaluation

 

NOT

1.

 

AND

2.

 

OR

3.

 

 

 

The AND operator always has a higher priority than OR. The NOT operator (negation) has the highest priority.

If you want the priority to be changed within the structure of the Expert Search, you must use parentheses and create condition subqueries.

See Also

Expert Search in Detail

Creating Condition Rows

Choose Attribute Dialog Box in Detail

Operators

Using Subqueries

Types of Attribute Values

Creating a Condition Directly in a Catalog

Catalog Query Selector

Value Checkbox

Global Functions

Case Sensitivity