Lucene.Net and I/O Threading issue
问题 I have an indexing function named "Execute()" using IndexWriter to index my site's content. It works great if I simply called it from a web page, but failed when I have it as a delegate parameter into System.Threading.Thread. Strangely though, it always work on my local dev machine, it only fails when I uploads to a shared host. This is the error message I got "Lock obtain timed out: SimpleFSLock error...." Below is the failed code (but only fails on a shared host) Scheduler scheduler = new