Share via


IWordSink interface

[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.]

Handles words identified by word breaks during both index time and query time.

Members

The IWordSink interface inherits from the IUnknown interface. IWordSink also has these types of members:

  • Methods

Methods

The IWordSink interface has these methods.

Method Description
EndAltPhrase

Indicates the end of the final phrase in a sequence of alternative phrases that a word breaker generates during index time.

PutAltWord

Puts an alternative word and its position in the WordSink.

PutBreak

Puts a break after the preceding word.

PutWord

Puts a word and its position in the WordSink.

StartAltPhrase

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

 

Remarks

Indexing Service creates and initializes instances of the WordSink object. The WordSink receives the fQuery parameter during initialization and uses this parameter to determine the word-breaking context in which the object is used.

IWordBreaker implementations receive a pointer to the WordSink object in the BreakText 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