File
Doc
Category
Size
Date
Package
KeywordAnalyzer.java
API Doc
Apache Lucene 2.1.0
1198
Wed Feb 14 10:46:38 GMT 2007
org.apache.lucene.analysis
KeywordAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
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.TokenStream
tokenStream
(
java.lang.String
fieldName,
java.io.Reader
reader)
return new KeywordTokenizer(reader);
Java Code Source