IQueryParserManager Interface

Provides methods to create, initialize, and change options for an IQueryParser object.

IQueryParserManager Members

CreateLoadedParser Creates a new instance of a IQueryParser interface implementation. This instance of the query parser is loaded with the schema for the specified catalog and is localized to a specified language. All other settings are initialized to default settings.
InitializeOptions Sets the flags for Natural Query Syntax (NQS) and automatic wildcard characters for the specified query parser. If the query parser was created for the SystemIndex catalog, this method also sets up standard condition generators to be used later by the query parser object for recognizing named entities.
SetOption Changes a single option in this IQueryParserManager object. For example, this method could change the name of the schema binary to load or the location of localized schema binaries.

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.

Interface Information

Inherits from IUnknown
Header and IDL files structuredquery.h, structuredquery.idl
Minimum operating systems Windows XP Service Pack 2 (SP2) with Windows Desktop Search (WDS) 3.0, Windows Server 2003 Service Pack 1 (SP1) with Windows Desktop Search (WDS) 3.0, Windows Vista

See Also

Advanced Query Syntax