I'm working with the Azure Library for Lucene.Net but I am running into FileNotFound Exceptions when I try to append to the index.
Everything works great with the FSDirectory. I have a ton of unit tests working great against the RAMDirectory.
Here is the infrastructure:
- Single Role maintains Index Writer Singleton.
- Separate web service maintains a single instance of the Searcher that points to the same index in read-only mode.
- When a change events occur the Index Writer Role picks up the change, modifies the index, and commits.
- After a certain period of time the Searcher recycles to pick up the latest index changes.
Exceptions: Upon the change, and from then on, I get a FileNotFound exception from the AzureDirectory. The file reported as not found changes but one example is "_h.cfs." When the searcher recycles and attempts to reload the index I get FileNotFound exceptions on the searcher as well...
Couple Other Important Points: 1. Initial creation of the full index works fine. 2. Searching against the initially created index works fine. 3. I'm using Lucene .Net V. 2.9.2
Any thoughts or suggestions? This is unfortunately the last issue I need to resolve before releasing the project...
Thanks, Tim