DLESE Tools
v1.6.0

org.dlese.dpc.index.analysis
Class LowerCaseAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.dlese.dpc.index.analysis.LowerCaseAnalyzer
All Implemented Interfaces:
Closeable

public class LowerCaseAnalyzer
extends org.apache.lucene.analysis.Analyzer

An Analyzer that uses a LowerCaseFilter to normalize the text to lower case.

Author:
John Weatherley
See Also:
LowerCaseFilter

Field Summary
 
Fields inherited from class org.apache.lucene.analysis.Analyzer
overridesTokenStreamMethod
 
Constructor Summary
LowerCaseAnalyzer()
           
 
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(String fieldName, Reader reader)
          Normalizes the text to lower case.
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, getPreviousTokenStream, reusableTokenStream, setOverridesTokenStreamMethod, setPreviousTokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowerCaseAnalyzer

public LowerCaseAnalyzer()
Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(String fieldName,
                                                          Reader reader)
Normalizes the text to lower case.

Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer
Parameters:
fieldName - Name of the field being tokenized
reader - The Reader
Returns:
The appropriate TokenStream
See Also:
LowerCaseFilter

DLESE Tools
v1.6.0