org.apache.lucene.search.highlight
public final class TokenStreamFromTermPositionVector extends TokenStream
AttributeSource.AttributeFactory, AttributeSource.State| Constructor and Description |
|---|
TokenStreamFromTermPositionVector(Terms vector)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
incrementToken() |
void |
reset() |
close, endaddAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreStatepublic TokenStreamFromTermPositionVector(Terms vector) throws IOException
vector - Terms that contains the data for
creating the TokenStream. Must have positions and offsets.IOExceptionpublic boolean incrementToken()
incrementToken in class TokenStreampublic void reset()
reset in class TokenStreamCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.