RE: Lock obtain timed out

2004-02-19 Thread Anand Stephen
development, ctrl+c on unix), sometimes it seems commit.lock file is left. Now problem is that apparently [Anand Stephen] You could attach the current Thread to Runtime shut down hook and release all resources when (ctrl +c) or the app shuts down. This works for me. code-snip Thread t = new

IndexWriter.optimize bug in version 1.3-final?

2004-01-25 Thread Anand Stephen
); } } writer.optimize(); writer.close(); /code -- anand stephen

IndexWriter.optimize bug in version 1.3-final?

2004-01-06 Thread Anand Stephen
iterator while (condition) { try { writer.addDocument(doc); } catch (Exception e) { logger.error(Failed to index doc ); } } writer.optimize(); writer.close(); /code -- anand stephen --- Outgoing mail