Closeable
, AutoCloseable
public class TokenOffsetPayloadTokenFilter
extends org.apache.lucene.analysis.TokenFilter
Token.setStartOffset(int)
and Token.setEndOffset(int)
First 4 bytes are the startConstructor | Description |
---|---|
TokenOffsetPayloadTokenFilter(org.apache.lucene.analysis.TokenStream input) |
Modifier and Type | Method | 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-2018 Apache Software Foundation. All Rights Reserved.