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

2005-09-15 Thread Beady Geraghty
ple are free to write Analyzers that don't close the > Reader's they get. > > I can't think of any clean way to change this without causing lots of > backwards compatibility problems for lots of people. > > > : -Original Message- >

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

2005-09-14 Thread Chris Hostetter
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) : : am new to Lucene. I don't seem to be able to find the answer to my : question : from the archive. I hope to get some help

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

input reader closed after IndexWriter.addDocument(doc)

2005-09-14 Thread Beady Geraghty
am new to Lucene. I don't seem to be able to find the answer to my question from the archive. I hope to get some help with my problem. I have : Document doc = new Document(); doc.add( Field.Text( "contents", rdr ); myIndexWriter.addDocument( doc ); After this point, it appears that rdr is clo