Port of Postings types, SegmentInfoPerCommit, TermStats