IQueryParserManager::InitializeOptions Method
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.
Syntax
HRESULT InitializeOptions( BOOL fUnderstandNQS, BOOL fAutoWildCard, IQueryParser *pQueryParser );
Parameters
- fUnderstandNQS
[in] BOOL flag that controls whether NQS is supported by this instance of the query parser.- fAutoWildCard
[in] BOOL flag that controls whether a wildcard character (*) is to be assumed after each word in the query (unless followed by punctuation other than a parenthesis).- pQueryParser
[in] Pointer to the query parser object.
Return Value
Returns S_OK if successful, or an error value otherwise.