lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yogesh Dabhi" <yda...@asite.com>
Subject RE: org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
Date Mon, 04 Apr 2011 06:21:17 GMT
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 reply 

 

Thanks & Regards

Yogesh

 

 

From: Yogesh Dabhi 
Sent: Friday, April 01, 2011 6:44 PM
To: 'java-user@lucene.apache.org'
Subject: org.apache.lucene.store.AlreadyClosedException: this
IndexReader is closed 

 

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

 

Thanks & Regards

Yogesh


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message