public class DirectIndexInputStream extends BitPostingIndexInputStream
DirectIndexcurrentEntryCount, currentFile, currentPointer, doi, entriesSkipped, fieldCount, file, fileCount, index, logger, pointerList, postingConstructor, postingIteratorClass, structureName| Modifier | Constructor and Description |
|---|---|
|
DirectIndexInputStream(IndexOnDisk index,
String structureName)
Deprecated.
Constructs an instance of the class with
|
|
DirectIndexInputStream(IndexOnDisk index,
String structureName,
Class<? extends IterablePosting> postingIterator)
Deprecated.
Constructs an instance of the class with
|
protected |
DirectIndexInputStream(IndexOnDisk _index,
String structureName,
Iterator<? extends BitIndexPointer> _pointerList,
Class<? extends IterablePosting> _postingIteratorClass)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected DocumentIndex |
getDocumentIndex(BitIndexPointer pointer)
Deprecated.
|
int[][] |
getNextTerms()
Deprecated.
One call returns all the data for one document - [0][] is term ids, [1][] is frequency, [2][] is fields.
|
int[][] |
getNextTerms(BitIndexPointer pointer)
Deprecated.
Get the terms for the next document at the pointer specified
|
_next, close, getCurrentPointer, getEntriesSkipped, getFilename, getFilename, getNextPostings, getNumberOfCurrentPostings, getPos, hasNext, loadPostingIterator, next, print, remove, skipprotected DirectIndexInputStream(IndexOnDisk _index, String structureName, Iterator<? extends BitIndexPointer> _pointerList, Class<? extends IterablePosting> _postingIteratorClass) throws IOException
IOExceptionpublic DirectIndexInputStream(IndexOnDisk index, String structureName, Class<? extends IterablePosting> postingIterator) throws IOException
index - structureName - postingIterator - IOExceptionpublic DirectIndexInputStream(IndexOnDisk index, String structureName) throws IOException
index - structureName - IOExceptionpublic int[][] getNextTerms()
throws IOException
IOException - if an I/O error occurspublic int[][] getNextTerms(BitIndexPointer pointer) throws IOException
IOExceptionprotected DocumentIndex getDocumentIndex(BitIndexPointer pointer)
getDocumentIndex in class BitPostingIndexInputStreamTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow