public class AlwaysAddSuffixFilter
extends org.apache.lucene.analysis.TokenFilter
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.lucene.analysis.tokenattributes.KeywordAttribute |
keywordAtt |
protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute |
posIncAtt |
protected Character |
suffix |
protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute |
termAtt |
protected org.apache.lucene.analysis.tokenattributes.TypeAttribute |
typeAtt |
| Constructor and Description |
|---|
AlwaysAddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd) |
AlwaysAddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd,
boolean keepOrigin) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
duplicateCurrentToken() |
boolean |
incrementToken() |
protected boolean |
possiblySkipFilter() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringprotected final org.apache.lucene.analysis.tokenattributes.CharTermAttribute termAtt
protected final org.apache.lucene.analysis.tokenattributes.TypeAttribute typeAtt
protected final org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAtt
protected final org.apache.lucene.analysis.tokenattributes.KeywordAttribute keywordAtt
protected final Character suffix
public AlwaysAddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd)
public AlwaysAddSuffixFilter(org.apache.lucene.analysis.TokenStream input,
Character suffixToAdd,
boolean keepOrigin)
public final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionprotected final void duplicateCurrentToken()
protected boolean possiblySkipFilter()
Copyright © 2014. All Rights Reserved.