Save This Page
Home » lucene-3.0.1-src » org.apache » lucene » analysis » [javadoc | source]
org.apache.lucene.analysis
public class: KeywordAnalyzer [javadoc | source]
java.lang.Object
   org.apache.lucene.analysis.Analyzer
      org.apache.lucene.analysis.KeywordAnalyzer

All Implemented Interfaces:
    Closeable

"Tokenizes" the entire stream as a single token. This is useful for data like zip codes, ids, and some product names.
Fields inherited from org.apache.lucene.analysis.Analyzer:
overridesTokenStreamMethod
Constructor:
 public KeywordAnalyzer() 
Method from org.apache.lucene.analysis.KeywordAnalyzer Summary:
reusableTokenStream,   tokenStream
Methods from org.apache.lucene.analysis.Analyzer:
close,   getOffsetGap,   getPositionIncrementGap,   getPreviousTokenStream,   reusableTokenStream,   setOverridesTokenStreamMethod,   setPreviousTokenStream,   tokenStream
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.lucene.analysis.KeywordAnalyzer Detail:
 public TokenStream reusableTokenStream(String fieldName,
    Reader reader) throws IOException 
 public TokenStream tokenStream(String fieldName,
    Reader reader)