Decode frequency and positions in postings.