IWordSink interface
Handles words identified by word breaks during both index time and query time.
The IWordSink interface inherits from the IUnknown interface. IWordSink also has these types of members:
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 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. |
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|