Rule
|
Description
|
---|---|
Prefix contains Joe AND Description contains Jack
|
Selects all the elements that have Joe in the prefix and Jack in the description. The elements with Joe in the prefix but without Jack in the description are not included.
|
Prefix contains Joe OR Description contains Jack
|
Selects all the elements that have Joe in the prefix or Jack in the description. The elements with Joe in the prefix but without Jack in the description are included.
|
Prefix contains Joe AND Description contains Jack OR Prefix contains Jack
|
Selects the following elements:
▪ All elements that have Joe in the prefix and Jack in the description
▪ All elements where Jack is in the prefix
AND has priority over OR. Therefore, this rule is interpreted as:
((Joe in prefix) AND (Jack in description)) OR (Jack in prefix)
|
Prefix contains Joe OR Description contains Jack AND Prefix contains Jack
|
Selects the following elements:
▪ All elements that have Joe in the prefix
▪ All elements that have Jack in both the description and prefix. The elements with Jack in the description but without Jack in the prefix are not included.
AND has priority over OR. Therefore, this rule is interpreted as:
(Joe in prefix) OR ((Jack in prefix) AND (Jack in description)).
|