Phew :) Thanks for bringing closure! Mike
On Thu, Jul 30, 2009 at 3:57 PM, Woolf, Ross<ross_wo...@bmc.com> wrote: > This turned out to be my own problem, but using infoStream helped me to > discover where my problem was. > > Thanks > > -----Original Message----- > From: Michael McCandless [mailto:luc...@mikemccandless.com] > Sent: Wednesday, July 29, 2009 6:11 PM > To: java-user@lucene.apache.org > Subject: Re: Problems with IndexWriter.commit() > > This is certainly not expected. > > Can you turn on IndexWriter's infoStream and post the result? > > Mike > > On Wed, Jul 29, 2009 at 7:03 PM, Woolf, Ross<ross_wo...@bmc.com> wrote: >> I'm experiencing a problem/unexpected behavior with IndexWriter.commit(). I >> have an open IndexWriter and I am writing a lot of documents to the index >> (addDocument). I call a commit() and the data is committed as expected, but >> now as I continue to write documents to the index I have lost all caching >> from the writer (I have kept the same writer open). Every single >> addDocument thereafter is treated as if it were followed with a commit right >> after it and the indexing speed comes to a crawl. >> >> I'm assuming this is not expected behavior since the concept of commit is to >> allow doing commits while keeping the indexWriter open. Is anyone aware of >> this problem? Does anyone know how I can rectify it and allow addDocument's >> thereafter to processed using the indexWriter caching? I am on Lucene 2.4.1. >> >> Thanks, >> Ross >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >> For additional commands, e-mail: java-user-h...@lucene.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org