Looks like you have to clone it prior to using with any IndexWriter instances.
On Mon, Aug 11, 2014 at 2:49 PM, Sheng <sheng...@gmail.com> wrote: > I tried to create a clone of indexwriteconfig with > "indexWriterConfig.clone()" for re-creating a new indexwriter, but I then I > got this very annoying illegalstateexception: "clone this object before it > is used". Why does this exception happen, and how can I get around it? > Thanks! >