java.io.Closeable
, java.lang.AutoCloseable
public class OxygenAnalyzerWithShingles extends OxygenAnalyzerBase
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
OXYGEN_EXCLUSION_SET, stemExclusionSet, stopwords
Constructor | Description |
---|---|
OxygenAnalyzerWithShingles() |
Modifier and Type | Method | Description |
---|---|---|
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents |
createComponents​(java.lang.String fieldName) |
Creates tokens for search
|
static java.lang.String |
getShingleInfo() |
attributeFactory, close, getOffsetGap, getPositionIncrementGap, getReuseStrategy, getVersion, initReader, initReaderForNormalization, normalize, setVersion, tokenStream, tokenStream
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultStopSet, normalize
public static java.lang.String getShingleInfo()
protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents​(java.lang.String fieldName)
createComponents
in class OxygenAnalyzerBase
fieldName
- String to tokenize