Export (0) Print
Expand All

IWordSink interface

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

The IWordSink interface has these methods.

MethodDescription
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 IWordSink object.

PutBreak

Puts a break after the preceding word.

PutWord

Puts a word and its position in the IWordSink object.

StartAltPhrase

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

 

Remarks

Windows Search creates and initializes instances of the IWordSink object. The IWordSink object 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 IWordSink object in the IWordBreaker::BreakText method.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Search.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft