IStemmer interface (indexsrv.h)

Provides methods for creating a language-specific stemmer. The stemmer generates inflected forms of a specified word.


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


The IStemmer interface has these methods.


Generates alternative forms for a word and puts these forms in the IWordFormSink object.

Gets the license information for this IStemmer implementation.

Initializes the stemmer.


When to Implement

Implement this interface to create a custom stemmer for a language. Windows Search calls the methods of this interface to generate inflected forms for words identified when building an index.

Stemmer components for Windows Search run in the Local Security context. They should be written to manage buffers and the stack correctly. All string copies must have explicit checks to guard against buffer overruns. You should always verify the allocated size of the buffer and test the size of the data against the size of the buffer.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header indexsrv.h
Redistributable Windows NT 4.0 Option Pack