Closeable, AutoCloseablepublic class PhoneticFilter
extends org.apache.lucene.analysis.TokenFilter
| Modifier and Type | Field | Description |
|---|---|---|
protected org.apache.commons.codec.Encoder |
encoder |
|
protected boolean |
inject |
|
protected org.apache.lucene.util.AttributeSource.State |
save |
| Constructor | Description |
|---|---|
PhoneticFilter(org.apache.lucene.analysis.TokenStream in,
org.apache.commons.codec.Encoder encoder,
boolean inject) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
incrementToken() |
|
void |
reset() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toStringprotected 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.TokenStreamIOExceptionpublic void reset()
throws IOException
reset in class org.apache.lucene.analysis.TokenFilterIOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.