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