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 encoding| Constructor 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, toStringpublic TypeAsPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input)
public final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.