com.sun.labs.minion
Interface CustomAnalyzer


public interface CustomAnalyzer

The interface used to provide a custom analzyer for text that will be indexed. The CustomAnalyzer is invoked for each field that is passed into indexer as part of a document. The analyzer should examine the text provided and feed the text into the PipelineStage. The PipelineStage provides additional methods to help control the structure of the fields in your document.

See Also:
PipelineStage

Method Summary
 void analyze(java.lang.String val, PipelineStage stage)
           
 

Method Detail

analyze

void analyze(java.lang.String val,
             PipelineStage stage)
             throws java.io.IOException
Throws:
java.io.IOException