net.ontopia.infoset.fulltext.impl.lucene
Class OmnigatorAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by net.ontopia.infoset.fulltext.impl.lucene.OmnigatorAnalyzer

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

INTERNAL: A Lucene analyzer implementation used by the Omnigator plugins. The analyzer breaks up tokens according to the Character.isLetterOrDigit(char) method and also lower-cases characters, so that search can be case-insensitive.

Since:
2.1.1

Field Summary
static OmnigatorAnalyzer INSTANCE
           
 
Fields inherited from class org.apache.lucene.analysis.Analyzer
overridesTokenStreamMethod
 
Constructor Summary
OmnigatorAnalyzer()
           
 
Method Summary
 org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName, java.io.Reader reader)
           
 
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
 

Field Detail

INSTANCE

public static final OmnigatorAnalyzer INSTANCE
Constructor Detail

OmnigatorAnalyzer

public OmnigatorAnalyzer()
Method Detail

tokenStream

public org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldName,
                                                          java.io.Reader reader)
Specified by:
tokenStream in class org.apache.lucene.analysis.Analyzer


Copyright © 2000-2012 Ontopia.