org.apache.lucene.analysis.core
Class KeywordAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.core.KeywordAnalyzer
- All Implemented Interfaces:
- Closeable
public final 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KeywordAnalyzer
public KeywordAnalyzer()
createComponents
protected Analyzer.TokenStreamComponents createComponents(String fieldName,
Reader reader)
- Specified by:
createComponents
in class Analyzer
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.