Look at the class SolrDispatchFilter which explains how exactly it is done.
Ensure that you do proper ref decrements after using core/indexsearcher
On Mon, Nov 17, 2008 at 3:55 PM, Kraus, Ralf | pixelhouse GmbH
<[EMAIL PROTECTED]> wrote:
> Hi,
>>
>> After 5-6 searches I run out of memory :-(
>>
Hi,
After 5-6 searches I run out of memory :-(
Examples:
String homeDir = "/var/lib/tomcat5.5/webapps/solr";
File configFile = new File( homeDir, "solr.xml" );
CoreContainer myCoreContainer = new CoreContainer(
homeDir, configFile );
mySolrCore = myCoreContainer