public class BlockFieldMemoryPostings extends BlockMemoryPostings{
/**
* {@inheritDoc}
*/
public void addTerms(DocumentPostingList _docPostings, int docid) throws IOException {
BlockFieldDocumentPostingList docPostings = (BlockFieldDocumentPostingList) _docPostings;
for (String term : docPostings.termSet())
add(term, docid, docPostings.getFrequency(term) , docPostings.getFieldFrequencies(term), docPostings.getBlocks(term));
}