ISearchQueryHelper::get_QueryTermExpansion Method

Gets the search term expansion flag.

Syntax

HRESULT get_QueryTermExpansion(      
    SEARCH_TERM_EXPANSION *pExpandTerms
);

Parameters

  • pExpandTerms
    [out, retval] Returns a pointer to one of the SEARCH_TERM_EXPANSION enumerations. For a list of possible values, see the description of the SEARCH_TERM_EXPANSION enumerated types.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Allows for expansion of some query terms with wildcard characters, similar to regular expression expansion. If not set, the default value is SEARCH_TERM_PREFIX_ALL.

See Also

ISearchQueryHelper::put_QueryTermExpansion