au.org.ala.names.lucene.analyzer
Class LowerCaseKeywordAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by au.org.ala.names.lucene.analyzer.LowerCaseKeywordAnalyzer
All Implemented Interfaces:
java.io.Closeable

public final class LowerCaseKeywordAnalyzer
extends org.apache.lucene.analysis.Analyzer

A custom KeywordAnalyzer that converts the text to lowercase before tokenizing the complete string as one token

Author:
Natasha

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
 
Constructor Summary
LowerCaseKeywordAnalyzer()
           
 
Method Summary
protected  org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(java.lang.String fieldName, java.io.Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, initReader, tokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LowerCaseKeywordAnalyzer

public LowerCaseKeywordAnalyzer()
Method Detail

createComponents

protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(java.lang.String fieldName,
                                                                                     java.io.Reader reader)
Specified by:
createComponents in class org.apache.lucene.analysis.Analyzer


Copyright © 2014. All Rights Reserved.