public class SimpleTextTermVectorsReader extends TermVectorsReader
FOR RECREATIONAL USE ONLY
| Constructor and Description |
|---|
SimpleTextTermVectorsReader(Directory directory,
SegmentInfo si,
IOContext context) |
| Modifier and Type | Method and Description |
|---|---|
TermVectorsReader |
clone()
Create a clone that one caller at a time may use to
read term vectors.
|
void |
close() |
Fields |
get(int doc)
Returns term vectors for this document, or null if
term vectors were not indexed.
|
public SimpleTextTermVectorsReader(Directory directory, SegmentInfo si, IOContext context) throws IOException
IOExceptionpublic Fields get(int doc) throws IOException
TermVectorsReaderOffsetAttribute
available from the DocsAndPositionsEnum.get in class TermVectorsReaderIOExceptionpublic TermVectorsReader clone()
TermVectorsReaderclone in class TermVectorsReaderpublic void close()
throws IOException
IOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.