public class TermDocVectorsForwardIndex extends Object
SequenceFile
s
containing TermDocVector
s, providing random access to the document
vectors.BuildTermDocVectorsForwardIndex
Modifier and Type | Field and Description |
---|---|
static long |
BigNumber |
Constructor and Description |
---|
TermDocVectorsForwardIndex(String indexPath,
FileSystem fs)
Creates a {code TermDocVectorsIndex} object.
|
Modifier and Type | Method and Description |
---|---|
TermDocVector |
getDocVector(int docno)
Returns the document vector given a docno.
|
static void |
main(String[] args)
Simple test program.
|
public static final long BigNumber
public TermDocVectorsForwardIndex(String indexPath, FileSystem fs) throws IOException
indexPath
- location of the index filefs
- handle to the FileSystemIOException
public TermDocVector getDocVector(int docno) throws IOException
IOException