Error messages for Boolean search

Syntactically invalid queries generate error messages described in this topic.

Sample query Error message Comments
NOT sony Top-level negation is not allowed. The final result set is not allowed to be the result of a negation operation.
( Unexpected end of expression.
Sony OR NOT Aiwa The <first | second> clause of the OR at position <position> is a negation. Neither clause of an OR expression may be a negation. Neither clause of an OR expression can be the result of a negation operation.
Sony OR Unexpected end of expression.
Sony AND Unexpected end of expression.
Sony NOT Unexpected end of expression. Expecting an opening left parenthesis, a word, or a phrase.
(Sony Unexpected end of expression. Expecting closing right parenthesis.
Manufacturer:(Sony OR Item: Camera) The key restrict operator may not be used within another key restrict expression.
Manufacturer: Unexpected end of expression. The key restrict operator must be followed by a word, a phrase, or a left parenthesis.
Manufacturer:OR The key restrict operator must be followed by a word, a phrase, or a left parenthesis.
Foo:Sony Unknown search index name "Foo" used for restrict operator The name must exactly match the name used in the data.
Sony AND OR Aiwa Expecting a term or phrase.

Repeated operators are an error.