RE: Can't open index

2006-06-23 Thread Charles.Sanders
I had this same problem. I began calling IndexWriter.setUseCompoundFile(true) when I open an IndexWriter and before I index. Since I have used this method call, I have not seen the problem again. Hope this helps. -Original Message- From: WATHELET Thomas [mailto:[EMAIL PROTECTED] Sent

RE: Compound / non-compound index files and SIGKILL

2006-06-05 Thread Charles.Sanders
Rob, Not sure I have the answer to your question, but thought I would add my observations. According to the book "Lucene In Action", the default index type is compound, although I did not find this mentioned in the API docs. However, my observations have been that this is not true. At least on m

setCommitLockTimeOut() and setWriteLockTimeOut()

2006-06-01 Thread Charles.Sanders
Could someone give me a short explanation of the IndexWriter methods setCommitLockTimeOut() and setWriteLockTimeOut() in Lucene 2.0 and how they affect indexing. Thanks, Charles

java.io.IOException: Cannot delete

2006-05-31 Thread Charles.Sanders
When attempting to re-create my index, I receive the following error: java.io.IOException: Cannot delete C:\CatalogCollections\Live\_2s.cfs at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:198) at org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:144) at org.apach