org.compass.core.lucene.engine.analyzer
Class LuceneAnalyzerFilterWrapper

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.compass.core.lucene.engine.analyzer.LuceneAnalyzerFilterWrapper

public class LuceneAnalyzerFilterWrapper
extends Analyzer

A simple analyzer wrapper, that adds a set of token filters created by the corresponding LuceneAnalyzerTokenFilterProviders.

Author:
kimchy

Constructor Summary
LuceneAnalyzerFilterWrapper(Analyzer analyzer, LuceneAnalyzerTokenFilterProvider[] filteresProviders)
           
 
Method Summary
 TokenStream tokenStream(String fieldName, Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setPreviousTokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneAnalyzerFilterWrapper

public LuceneAnalyzerFilterWrapper(Analyzer analyzer,
                                   LuceneAnalyzerTokenFilterProvider[] filteresProviders)
Method Detail

tokenStream

public TokenStream tokenStream(String fieldName,
                               Reader reader)
Specified by:
tokenStream in class Analyzer


Copyright (c) 2004-2008 The Compass Project.