Package 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,AutoCloseable
"Tokenizes" the entire stream as a single token. This is useful
for data like zip codes, ids, and some product names.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
Analyzer.GlobalReuseStrategy, Analyzer.PerFieldReuseStrategy, Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents -
Field Summary
Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, tokenStream, tokenStream
-
Constructor Details
-
KeywordAnalyzer
public KeywordAnalyzer()
-