public final class KeywordAnalyzer
extends org.apache.lucene.analysis.Analyzer
org.apache.lucene.document.Field#Keyword(String,String)
method. Note: Deprecated as of Lucene
v1.9 org.apache.lucene.analysis.KeywordAnalyzer is now available.Constructor and Description |
---|
KeywordAnalyzer() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String field,
java.io.Reader reader)
A TokenStream that includes all characters.
|
public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String field, java.io.Reader reader)
tokenStream
in class org.apache.lucene.analysis.Analyzer
field
- The fieldreader
- The Reader