STRUCTURED_QUERY_PARSE_ERROR enumeration (structuredquery.h)

A set of flags to be used with IQuerySolution::GetErrors to identify parsing error(s). Each parsing error indicates that one or more tokens were ignored when parsing a query string.

Syntax

typedef enum tagSTRUCTURED_QUERY_PARSE_ERROR {
  SQPE_NONE = 0,
  SQPE_EXTRA_OPENING_PARENTHESIS,
  SQPE_EXTRA_CLOSING_PARENTHESIS,
  SQPE_IGNORED_MODIFIER,
  SQPE_IGNORED_CONNECTOR,
  SQPE_IGNORED_KEYWORD,
  SQPE_UNHANDLED
} STRUCTURED_QUERY_PARSE_ERROR;

Constants

 
SQPE_NONE
Value: 0
No error.
SQPE_EXTRA_OPENING_PARENTHESIS
An extraneous (.
SQPE_EXTRA_CLOSING_PARENTHESIS
An extraneous ).
SQPE_IGNORED_MODIFIER
An extraneous NOT, <, >, =, and so forth.
SQPE_IGNORED_CONNECTOR
An extraneous AND or OR.
SQPE_IGNORED_KEYWORD
A property or other keyword used in the wrong context.
SQPE_UNHANDLED
Any other parse error.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header structuredquery.h
Redistributable Windows Desktop Search (WDS) 3.0

See also

IRichChunk