Re: index update problems with Linux

2008-01-19 Thread Otis Gospodnetic
Kevin, I don't see writer.close() in your code snippet. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Kevin Dewi <[EMAIL PROTECTED]> To: java-user@lucene.apache.org Sent: Friday, January 18, 2008 6:33:43 AM Subject: index update problems wit

Re: index update problems with Linux

2008-01-18 Thread 游泳池的鱼
it seems that close reader not release write lock, test lock release before you add document 2008/1/18, Kevin Dewi <[EMAIL PROTECTED]>: > > Hello, > > I have a problem with this code (updating a lucene index by delete and > adding documents): > > > IndexReader reader = IndexReader.open(directory)