added offsets in postings command and made sample index support payloads, offsets etc.