IQueryParser Interface
Exposes methods to parse an input string into a query solution.
IQueryParser Members
GetOption Retrieves a simple option. GetSchemaProvider Retrieves a schema provider for browsing the currently loaded schema. Parse Parses an input string with Structured Query keywords and/or contents to produce a query solution. ParsePropertyValue Parses a condition for a given property. The input string can be anything that could have been written after a property in a structured query. For example, "from:(bill OR alex)" would be a valid structured query, so passing System.StructuredQuery.Virtual.From (for which From is a keyword) as pszPropertyName and "(bill OR alex)" or "bill OR alex" as pszInputString would be valid, resulting in an OR of leaf nodes that relate the System.StructuredQuery.Virtual.From property with the strings "bill" and "alex". RestatePropertyValueToString Restates a condition for a given property. If the leaf nodes of the condition contain more than one property name, or no property name at all, E_INVALIDARG is returned. 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 will be used to a great extent. If not, default keywords will be used. SetMultiOption Sets a complex option. SetOption Sets a simple option.
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