File
Doc
Category
Size
Date
Package
KeywordAnalyzer.java
API Doc
Apache Lucene 1.9
1010
Mon Feb 20 09:19:46 GMT 2006
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