lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vitaly Funstein <vfunst...@gmail.com>
Subject Re: Problem of calling indexWriterConfig.clone()
Date Tue, 12 Aug 2014 01:52:26 GMT
Looks like you have to clone it prior to using with any IndexWriter
instances.


On Mon, Aug 11, 2014 at 2:49 PM, Sheng <shengcer@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!
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message