QueryDiagnosticCode Enum
Specifies the problem a QueryDiagnostic reports.
public enum QueryDiagnosticCodeFields
| Name | Value | Description |
|---|---|---|
UnmatchedCloseParenthesis | 0 | A ) closes no (. It is searched as text. |
MissingCloseParenthesis | 1 | A ( has no matching ). The group ends at the end of the query. |
EmptyParentheses | 2 | A pair of parentheses encloses nothing. |
MissingOperand | 3 | An AND, OR, NOT or - has no operand. It is searched as text. |
MissingValue | 4 | A key and its operator are not followed by a value, as in author: or author: alice. |
UnterminatedQuotedText | 5 | A quoted text has no closing quote. It ends at the end of the query. |
UnknownKey | 6 | No handler is registered for the key of a term. It is searched as text. |