Re: input reader closed after IndexWriter.addDocument(doc)

2005-09-15 Thread Beady Geraghty
Thank you all for the responses. I'll try to work around this. On 9/15/05, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > > : : I wasn't expect addDocument to close it. > : : I am wondering if there is a reason that rdr should be > : : closed after addDocument, and if there is a way to leav

RE: input reader closed after IndexWriter.addDocument(doc)

2005-09-14 Thread Chris Hostetter
: : I wasn't expect addDocument to close it. : : I am wondering if there is a reason that rdr should be : : closed after addDocument, and if there is a way to leave it open ? : What stops you from using the reader before you add the document to the : index? That doesn't really help people who w

RE: input reader closed after IndexWriter.addDocument(doc)

2005-09-14 Thread Kunemann Frank
What stops you from using the reader before you add the document to the index? Frank -Original Message- From: Beady Geraghty [mailto:[EMAIL PROTECTED] Sent: Thursday, September 15, 2005 2:30 AM To: java-user@lucene.apache.org Subject: input reader closed after IndexWriter.addDocument(doc