一. consumer的来源
接着上一小节的内容, 还是从这一段程序(位于DocumentWriter.updateDocument(Document, Analyzer, Term) 中继续.
try {
// This call is not synchronized and does all the
// work
final DocWriter perDoc = state.consumer.processDocument();
// This call is synchronized but fast
finishDocument(state, perDoc);
success = true;
}