IQueryParser interface (structuredquery.h)

Provides methods to parse an input string into an IQuerySolution object.

Inheritance

The IQueryParser interface inherits from the IUnknown interface. IQueryParser also has these types of members:

Methods

The IQueryParser interface has these methods.

 
IQueryParser::GetOption

Retrieves a specified simple option value for this query parser.
IQueryParser::GetSchemaProvider

Retrieves a schema provider for browsing the currently loaded schema.
IQueryParser::Parse

Parses an input string that contains Structured Query keywords and/or contents to produce an IQuerySolution object.
IQueryParser::ParsePropertyValue

Parses a condition for a specified property.
IQueryParser::RestatePropertyValueToString

Restates a specified property for a condition as a query string.
IQueryParser::RestateToString

Restates a condition as a structured query string. If the condition was the result of parsing an original query string, the keywords of that query string are used to a great extent. If not, default keywords are used.
IQueryParser::SetMultiOption

Sets a complex option, such as a specified condition generator, to use when parsing an input string.
IQueryParser::SetOption

Sets a single option, such as a specified wordbreaker, for parsing an input string.

Remarks

The StructuredQuerySample demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

Requirements

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

See also

Advanced Query Syntax