setIndexWriter

Sets the IndexWriter this config is attached to.

Throws

if this config is already attached to a writer.