Re: Proper way to deal with shared indexer exception

2011-02-25 Thread Simon Willnauer
I looked at your code briefly. I could imagine that you have a problem if you close the IndexReader while there is still Search going on holding on to the already replaced IndexSearcher. I usually recommend to use a some kind of a "transactional" pattern. When you do a search you ask for the IndexS

Proper way to deal with shared indexer exception

2011-02-25 Thread Jason Tesser
We are having issues with FileChannelClosed and are NOT calling Thread.interrupt. We also start to see AlreadyClosedException on Reader. * * we are running the latest 3.0.3 We have code in my lucene Util class like this http://pastebin.com/ifbxhVLi * * we have a single shared searcher and a