Interface WritablePosting

    • Method Detail

      • setDocumentLength

        void setDocumentLength​(int l)
        Set the length of the document of the current posting in tokens.
        Parameters:
        l - length of the document of the current posting in tokens.
      • setId

        void setId​(int id)
        It may be of benefit to update the frequency of the id in some applications. This should not be used lightly, as it may break the decompression of other postings in iterators. This was moved from Posting.
        Specified by:
        setId in interface Posting