public class TypeAsPayloadTokenFilter
extends org.apache.lucene.analysis.TokenFilter
Token.type()
a payload.
Encodes the type using String.getBytes(String)
with "UTF-8" as the encodingConstructor and Description |
---|
TypeAsPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input) |
Modifier and Type | Method and Description |
---|---|
boolean |
incrementToken() |
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
public TypeAsPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input)
public final boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException