FileDocCategorySizeDatePackage
KeywordAnalyzer.javaAPI DocApache Lucene 2.1.01198Wed Feb 14 10:46:38 GMT 2007org.apache.lucene.analysis

KeywordAnalyzer

public class KeywordAnalyzer extends Analyzer
"Tokenizes" the entire stream as a single token. This is useful for data like zip codes, ids, and some product names.

Fields Summary
Constructors Summary
Methods Summary
public org.apache.lucene.analysis.TokenStreamtokenStream(java.lang.String fieldName, java.io.Reader reader)

    return new KeywordTokenizer(reader);