public class InvertedIndexInputStream extends BitPostingIndexInputStream
currentEntryCount, currentFile, currentPointer, doi, entriesSkipped, fieldCount, file, fileCount, index, logger, pointerList, postingConstructor, postingIteratorClass, structureName
Constructor and Description |
---|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName)
Deprecated.
Construct an instance of the class with
|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
Construct an instance of the class with
|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends Pointer> lexInputStream)
Deprecated.
Construct an instance of the class with
|
InvertedIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends Pointer> lexInputStream,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
Construct an instance of the class with
|
Modifier and Type | Method and Description |
---|---|
int[][] |
getNextDocuments()
Deprecated.
Get the set of documents for the next term
|
protected int[][] |
getNextDocuments(BitIndexPointer pointer)
Deprecated.
Get the set of documents for the given term pointer
|
_next, close, getCurrentPointer, getDocumentIndex, getEntriesSkipped, getFilename, getFilename, getNextPostings, getNumberOfCurrentPostings, getPos, hasNext, loadPostingIterator, next, print, remove, skip
public InvertedIndexInputStream(IndexOnDisk _index, String structureName) throws IOException
_index
- structureName
- IOException
public InvertedIndexInputStream(IndexOnDisk _index, String structureName, Iterator<? extends Pointer> lexInputStream) throws IOException
_index
- structureName
- lexInputStream
- IOException
public InvertedIndexInputStream(IndexOnDisk _index, String structureName, Iterator<? extends Pointer> lexInputStream, Class<? extends IterablePosting> _postingIteratorClass) throws IOException
_index
- structureName
- lexInputStream
- _postingIteratorClass
- IOException
public InvertedIndexInputStream(IndexOnDisk _index, String structureName, Class<? extends IterablePosting> _postingIteratorClass) throws IOException
_index
- structureName
- _postingIteratorClass
- IOException
public int[][] getNextDocuments() throws IOException
IOException
protected int[][] getNextDocuments(BitIndexPointer pointer) throws IOException
pointer
- for the number of documentsIOException
Terrier 4.0. Copyright © 2004-2014 University of Glasgow