public class PhoneticFilter
extends org.apache.lucene.analysis.TokenFilter
Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.codec.Encoder |
encoder |
protected boolean |
inject |
protected org.apache.lucene.util.AttributeSource.State |
save |
Constructor and Description |
---|
PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
org.apache.commons.codec.Encoder encoder,
boolean inject) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
protected boolean inject
protected org.apache.commons.codec.Encoder encoder
protected org.apache.lucene.util.AttributeSource.State save
public PhoneticFilter(org.apache.lucene.analysis.TokenStream in, org.apache.commons.codec.Encoder encoder, boolean inject)
public final boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
public void reset() throws IOException
reset
in class org.apache.lucene.analysis.TokenFilter
IOException