Hi,

I want to use a SolrIndexSearcher for some special searches in my app...
I startup my Solr with two cores in it (core_de & core_uk).

But when I try this then my Solr Server generates a complete new cory instead of
using the existing one...

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.getCore("core_de");
RefCounted<SolrIndexSearcher> temp_search = mySolrCore.getSearcher();
       SolrIndexSearcher searcher = temp_search.get();

Greets -Ralf-

Reply via email to