60616263646566
if (op == DocumentAndOp.Op.DELETE || op == DocumentAndOp.Op.UPDATE) { term = new Term(docidFieldName, key.getText().toString()); } output.collect(key, new DocumentAndOp(op, doc, term)); }