Skip to content

Latest commit

 

History

History
66 lines (42 loc) · 2.93 KB

iwordsink.md

File metadata and controls

66 lines (42 loc) · 2.93 KB
description ms.assetid title ms.topic ms.date topic_type api_name api_type api_location
Handles words identified by word breaks during both index time and query time.
220FCAE5-D22D-45ED-9689-E78C0D8E0BB3
IWordSink interface (Search.h)
reference
05/31/2018
APIRef
kbSyntax
IWordSink
COM
search.h

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.

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.

 

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

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Search.h