public class BasicIterablePostingDocidOnly extends BasicIterablePosting
BasicIterablePosting in that only ids are
recorded.bitFileReader, doi, numEntriesdl, id, tfEOL| Constructor and Description |
|---|
BasicIterablePostingDocidOnly()
Create a new posting iterator
|
BasicIterablePostingDocidOnly(BitIn _bitFileReader,
int _numEntries,
DocumentIndex _doi)
Create a new posting iterator
|
| Modifier and Type | Method and Description |
|---|---|
int |
next()
Move this iterator to the next posting.
|
asWritablePosting, close, endOfPostings, getDocumentLength, nextgetFrequency, getId, readFields, setDocumentLength, setId, setTf, toString, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFrequency, getId, setIdpublic BasicIterablePostingDocidOnly()
public BasicIterablePostingDocidOnly(BitIn _bitFileReader, int _numEntries, DocumentIndex _doi) throws IOException
_bitFileReader - BitIn to read the postings from_numEntries - number of postings in the list_doi - document index to use to satisfy getDocumentLength()IOException - thrown in an IO exception occurspublic int next()
throws IOException
next in interface IterablePostingnext in class BasicIterablePostingIOExceptionTerrier Information Retrieval Platform4.1. Copyright © 2004-2015, University of Glasgow