Re: IndexWriter exception

2005-09-27 Thread Otis Gospodnetic
Alex, Can you write your code as a unit test that we can run and see the error? Are you running this on Windows? Otis --- Alex Kiselevski <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a strange exception when I'm trying to recreate an > IndexWriter, > that was previously defined. > > > >

IndexWriter exception

2005-09-27 Thread Alex Kiselevski
Hi, I have a strange exception when I'm trying to recreate an IndexWriter, that was previously defined. I did the following steps: 1. mWriter = new IndexWriter(indexPath, analyzer, true); 2. mWriter.addDocument(document); 3. mWriter.optimize(); 4. mWriter.c