public DocFieldProcessor(DocumentsWriterPerThread docWriter, DocFieldConsumer consumer, StoredFieldsConsumer storedConsumer)
 {
     this.docState       = docWriter.docState;
     this.codec          = docWriter.codec;
     this.bytesUsed      = docWriter.bytesUsed;
     this.consumer       = consumer;
     this.storedConsumer = storedConsumer;
 }