FileNotFoundException for write.lock
When I try to start my service and construct an IndexWriter, I get this: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/home/jchang/IdeaProjects/index-service_trunk/target/testindexA/index/indexablemaildata: files: [write.lock] It is odd. The problem is not that it is complaining about a lock file. There is none there. It seems to be complaining that there is NOT a lock file. Why? -- View this message in context: http://old.nabble.com/FileNotFoundException-for-write.lock-tp27291955p27291955.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org
Re: FileNotFoundException for write.lock
By the way: this happens with a brand new directory with no files at all in it. jchang wrote: When I try to start my service and construct an IndexWriter, I get this: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@/home/jchang/IdeaProjects/index-service_trunk/target/testindexA/index/indexablemaildata: files: [write.lock] It is odd. The problem is not that it is complaining about a lock file. There is none there. It seems to be complaining that there is NOT a lock file. Why? -- View this message in context: http://old.nabble.com/FileNotFoundException-for-write.lock-tp27291955p27291981.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org
Re: FileNotFoundException for write.lock
Please repost this over on the users list. This list is for internal development discussions. Thanks Erick On Sat, Jan 23, 2010 at 9:56 PM, jchang jchangkihat...@gmail.com wrote: By the way: this happens with a brand new directory with no files at all in it. jchang wrote: When I try to start my service and construct an IndexWriter, I get this: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.NIOFSDirectory@ /home/jchang/IdeaProjects/index-service_trunk/target/testindexA/index/indexablemaildata: files: [write.lock] It is odd. The problem is not that it is complaining about a lock file. There is none there. It seems to be complaining that there is NOT a lock file. Why? -- View this message in context: http://old.nabble.com/FileNotFoundException-for-write.lock-tp27291955p27291981.html Sent from the Lucene - Java Developer mailing list archive at Nabble.com. - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org