lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Lucene in EJB enviornment
Date Mon, 18 Feb 2008 21:54:49 GMT
Hello - opening a new IndexSearcher for every request is not the thing to do.  Reuse a single
IndexSearcher instance.  This must be in the FAQ. :)

Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch

----- Original Message ----
> From: techkatta <techkatta@yahoo.com>
> To: java-user@lucene.apache.org
> Sent: Monday, February 18, 2008 10:19:04 AM
> Subject: Lucene in EJB enviornment
> 
> 
> I am using the Lucene in the EJB enviornment with Berkeley DB JE as a data
> store using the JCA on JBoss 4.2.0 
> 
> My question is using Lucene in EJB enviornment is suggestable or not ?
> 
> For every request i am trying to open the IndexSearcher object and while
> exiting from the EJb i am closing. It's giving OutOfMemory issues in the
> production server after 2 to 3 hrs running.
> 
> Can anybody the suggest the soultion for the above probelm ?
> 
> Thanks,
> techkatta
> 
> 
> 
> 
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/Lucene-in-EJB-enviornment-tp15546759p15546759.html
> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message