public DocFieldProcessorPerThread(DocumentsWriterThreadState threadState, DocFieldProcessor docFieldProcessor)
 {
     InitBlock();
     this.docState          = threadState.docState;
     this.docFieldProcessor = docFieldProcessor;
     this.fieldInfos        = docFieldProcessor.fieldInfos;
     this.consumer          = docFieldProcessor.consumer.AddThread(this);
     fieldsWriter           = docFieldProcessor.fieldsWriter.AddThread(docState);
 }
		public DocFieldProcessorPerThread(DocumentsWriterThreadState threadState, DocFieldProcessor docFieldProcessor)
		{
			InitBlock();
			this.docState = threadState.docState;
			this.docFieldProcessor = docFieldProcessor;
			this.fieldInfos = docFieldProcessor.fieldInfos;
			this.consumer = docFieldProcessor.consumer.AddThread(this);
			fieldsWriter = docFieldProcessor.fieldsWriter.AddThread(docState);
		}