DocData dd = new DocData(); dd.body = DOC_TEXT; dd.name = "doc"+newdocid(); addBytes(DOC_TEXT.length()); return dd;
// return a new docid return docID++;
return 0; // not applicable
super.resetInputs(); docID = 0;