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 startConstructor 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, toString
public TokenOffsetPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input)
public final boolean incrementToken() throws IOException
incrementToken
in class org.apache.lucene.analysis.TokenStream
IOException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.