Share via


IWordSink::StartAltPhrase method

[Indexing Service is no longer supported as of Windows XP and is unavailable for use as of Windows 8. Instead, use Windows Search for client side search and Microsoft Search Server Express for server side search.]

Indicates the boundary between phrases in a sequence of alternative phrases that a word breaker generates during index time.

Syntax

HRESULT StartAltPhrase();

Parameters

This method has no parameters.

Return value

This method can return one of these values.

Return code Description
WBREAK_E_QUERY_ONLY

StartAltPhrase is called during query time.

 

Remarks

Each alternative phrase starts with a StartAltPhrase call. The phrase is put in the WordSink through subsequent calls to the PutWord or PutAltWord method. The final alternative phrase in a sequence of phrases is terminated with a call to the EndAltPhrase method.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

End of client support

Windows 7

End of server support

Windows Server 2008 R2

Header

Indexsrv.h

See also

IWordSink