setNextWriteDocValuesGen

Sets the nextWriteDocValuesGen.