RE: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

2011-04-03 Thread Yogesh Dabhi
Hi, My application is cluster in jobss application servers & lucene directory was shared. Is it work ReentrantReaderWriterLock around the process of re-opening your IndexReader and re-creating your IndexSearcher in given environment or Is there any alternate way for it Please repl

Re: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed

2011-04-01 Thread Devon H. O'Dell
2011/4/1 Yogesh Dabhi : > Hi > > Concurrently 5 user access same lucene directory for searching document > > That time I got bellow exception > > org.apache.lucene.store.AlreadyClosedException: this IndexReader is > closed > > is there a way to handle such error Use a ReentrantReaderWriterLock aro