/**
* Hook method that creates the right type of DocumentTree class.
*/
protected void createDocumentPostings(){
if (FieldScore.FIELDS_COUNT > 0)
termsInDocument = new FieldDocumentPostingList(FieldScore.FIELDS_COUNT);
else
termsInDocument = new DocumentPostingList();
}