org.apache.lucene.analysis.payloads
public class TokenOffsetPayloadTokenFilter extends org.apache.lucene.analysis.TokenFilter
Token.setStartOffset(int)
and Token.setEndOffset(int)
First 4 bytes are the start| Constructor and Description |
|---|
TokenOffsetPayloadTokenFilter(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 TokenOffsetPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input)
public final boolean incrementToken()
throws IOException
incrementToken in class org.apache.lucene.analysis.TokenStreamIOExceptionCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.