SEARCH_TERM_EXPANSION enumeration (searchapi.h)

Indicates wildcard options on search terms. Used by ISearchQueryHelper::get_QueryTermExpansion and ISearchQueryHelper::put_QueryTermExpansion methods.

Syntax

typedef enum _SEARCH_TERM_EXPANSION {
  SEARCH_TERM_NO_EXPANSION = 0,
  SEARCH_TERM_PREFIX_ALL,
  SEARCH_TERM_STEM_ALL
} SEARCH_TERM_EXPANSION;

Constants

 
SEARCH_TERM_NO_EXPANSION
Value: 0
No expansion is applied to search terms.
SEARCH_TERM_PREFIX_ALL
All search terms are expanded.
SEARCH_TERM_STEM_ALL
Stem expansion is applied to all terms.

Remarks

While the SEARCH_TERM_EXPANSION enumerated type lets you specify stem expansion, Windows Search does not currently support its use with the ISearchQueryHelper interface.

Requirements

   
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header searchapi.h
Redistributable Windows Desktop Search (WDS) 3.0