Am using Lucene API in a .net web application. I want to use the same instance of Indexsearcher for all the requests.Hence am storing indexsearcher instance in http cache.<
My quick answer is...
You don't really need to use the same index searcher object for all request, in fact i would recommend against it. You only need to make sure there is only one thread updating the index.
If you really want one, how about a static member variable in the application that is initialized once and used by all?
The long answer is... I will try and find my code and see exactly how I handled the problem