IQueryParser

IQueryParser interface

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

Members

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

Methods

The IQueryParser interface has these methods.

MethodDescription
GetOption

Retrieves a specified simple option value for this query parser.

GetSchemaProvider

Retrieves a schema provider for browsing the currently loaded schema.

Parse

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

ParsePropertyValue

Parses a condition for a specified property.

RestatePropertyValueToString

Restates a specified property for a condition as a query string.

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.

SetMultiOption

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

SetOption

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

 

Remarks

The StructuredQuerySample code sample, available on Code Gallery and the Windows 7 SDK, demonstrates how to read lines from the console, parse them using the system schema, and display the resulting condition trees.

Requirements

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 with SP1 [desktop apps only]

Redistributable

Windows Desktop Search (WDS) 3.0

Header

Structuredquery.h

IDL

Structuredquery.idl

See also

Advanced Query Syntax

 

 

Community Additions

ADD
Show:
© 2016 Microsoft