com.atlassian.confluence.search.lucene.filter
Class AnalyzerFilter

java.lang.Object
  extended by org.apache.lucene.util.AttributeSource
      extended by org.apache.lucene.analysis.TokenStream
          extended by org.apache.lucene.analysis.TokenFilter
              extended by com.atlassian.confluence.search.lucene.filter.AnalyzerFilter
All Implemented Interfaces:
java.io.Closeable

public class AnalyzerFilter
extends org.apache.lucene.analysis.TokenFilter


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource
org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
 
Field Summary
 
Fields inherited from class org.apache.lucene.analysis.TokenFilter
input
 
Constructor Summary
AnalyzerFilter(org.apache.lucene.analysis.TokenStream input, java.lang.String fieldName, org.apache.lucene.analysis.Analyzer analyzer)
          Construct a token stream filtering the given input.
 
Method Summary
 void end()
           
 boolean incrementToken()
           
 void reset()
           
 
Methods inherited from class org.apache.lucene.analysis.TokenFilter
close
 
Methods inherited from class org.apache.lucene.util.AttributeSource
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnalyzerFilter

public AnalyzerFilter(org.apache.lucene.analysis.TokenStream input,
                      java.lang.String fieldName,
                      org.apache.lucene.analysis.Analyzer analyzer)
Construct a token stream filtering the given input.

Method Detail

incrementToken

public final boolean incrementToken()
                             throws java.io.IOException
Specified by:
incrementToken in class org.apache.lucene.analysis.TokenStream
Throws:
java.io.IOException

reset

public void reset()
Overrides:
reset in class org.apache.lucene.analysis.TokenFilter

end

public final void end()
Overrides:
end in class org.apache.lucene.analysis.TokenFilter


Copyright © 2003-2014 Atlassian. All Rights Reserved.