public final class AlphaNumericFilter extends AbstractTokenizingFilter
| term | results in |
|---|---|
| bob | bob |
| bob-cat | bob cat |
| #$% | [skipped] |
| Constructor and Description |
|---|
AlphaNumericFilter(org.apache.lucene.analysis.TokenStream stream)
Constructs a new AlphaNumericFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
end() |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
incrementToken() |
void |
reset() |
addTerm, getTermAtt, getTokensaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, endAttributes, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, reflectAsString, reflectWith, removeAllAttributes, restoreState, toStringpublic AlphaNumericFilter(org.apache.lucene.analysis.TokenStream stream)
stream - the TokenStream that this filter will processpublic boolean incrementToken()
throws java.io.IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamjava.io.IOExceptionpublic void reset()
throws java.io.IOException
reset in class AbstractTokenizingFilterjava.io.IOExceptionpublic void end()
throws java.io.IOException
end in class org.apache.lucene.analysis.TokenFilterjava.io.IOExceptionpublic int hashCode()
hashCode in class org.apache.lucene.util.AttributeSourcepublic boolean equals(java.lang.Object obj)
equals in class org.apache.lucene.util.AttributeSourceCopyright© 2012-21 Jeremy Long. All Rights Reserved.