org.compass.core.lucene.engine.analyzer
Interface LuceneAnalyzerTokenFilterProvider

All Superinterfaces:
CompassConfigurable
All Known Implementing Classes:
SynonymAnalyzerTokenFilterProvider

public interface LuceneAnalyzerTokenFilterProvider
extends CompassConfigurable

A Lucene token filter provider. Can be used with Lucene analyzers in order to further filter out (or add additional tokens) during the analysis process.

Author:
kimchy
See Also:
TokenFilter, SynonymFilter, SynonymAnalyzerTokenFilterProvider

Method Summary
 TokenFilter createTokenFilter(TokenStream tokenStream)
          Creates a new token filter based on the token stream.
 
Methods inherited from interface org.compass.core.config.CompassConfigurable
configure
 

Method Detail

createTokenFilter

TokenFilter createTokenFilter(TokenStream tokenStream)
Creates a new token filter based on the token stream. Called every time an analysis should occur, so it would be nice to create any global level data during the configuration process.



Copyright (c) 2004-2008 The Compass Project.