QueryDiagnosticCode Enum

Specifies the problem a QueryDiagnostic reports.

public enum QueryDiagnosticCode

Fields

NameValueDescription
UnmatchedCloseParenthesis0A ) closes no (. It is searched as text.
MissingCloseParenthesis1A ( has no matching ). The group ends at the end of the query.
EmptyParentheses2A pair of parentheses encloses nothing.
MissingOperand3An AND, OR, NOT or - has no operand. It is searched as text.
MissingValue4A key and its operator are not followed by a value, as in author: or author: alice.
UnterminatedQuotedText5A quoted text has no closing quote. It ends at the end of the query.
UnknownKey6No handler is registered for the key of a term. It is searched as text.