change data format to docid freq pos