IQueryParserManager interface

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

Members

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

Methods

The IQueryParserManager interface has these methods.

MethodDescription
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.

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

 

 

Show: