net.ontopia.infoset.fulltext.impl.lucene
Class OmnigatorAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
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
Fields inherited from class org.apache.lucene.analysis.Analyzer |
overridesTokenStreamMethod |
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 |
INSTANCE
public static final OmnigatorAnalyzer INSTANCE
OmnigatorAnalyzer
public OmnigatorAnalyzer()
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.