* @param _docPostings BlockDocumentPostingList containing the posting information for one document.
* @param docid Document id of the indexed document
* @throws IOException if an I/O error occurs.
*/
public void addTerms(DocumentPostingList _docPostings, int docid) throws IOException {
BlockDocumentPostingList docPostings = (BlockDocumentPostingList) _docPostings;
for (String term : docPostings.termSet())
add(term, docid, docPostings.getFrequency(term), docPostings.getBlocks(term));
}