Class BasicIterablePosting

    • Field Detail

      • numEntries

        protected int numEntries
      • bitFileReader

        protected BitIn bitFileReader
    • Constructor Detail

      • BasicIterablePosting

        public BasicIterablePosting()
        Empty constructor used ONLY for reflection
      • BasicIterablePosting

        public BasicIterablePosting​(BitIn _bitFileReader,
                                    int _numEntries,
                                    DocumentIndex _doi)
                             throws java.io.IOException
        Constructor
        Parameters:
        _bitFileReader - The bit file where we read the postings from
        _numEntries - Total number of postings to read before returning EOL
        _doi - The document index to get the doc length of the current docid
        Throws:
        java.io.IOException