: But for the first question, I am still not clear. : I think to use the multicore feature we should inform the server. In the : Jetty server, we are starting the server using: java : -Dsolr.solr.home=multicore -jar start.jar : Once the server is started I think it will take the parameters from : multicore/solr.xml. : : But I am confused on how and where to pass this argument to JBOSS.
i don't know anything about jboss, so i can't relaly answer your specific question, but as for your general question: the way to test out the example "multicore" configuration is to make Solr aware of where the "Solr Home" is ... once it knows that, then it looks for the solr.xml file, and if it exists, you get multicore support. if you can get the defualt exmaple working in JBoss, then whatever you did to make it aware of the "example/solr" solr home, you do the same thing to make it use "example/multicore" as the solr home instead (that might just be renaming the multicore directory to "solr" so that the default behavior -- use ./solr in the current working directory -- gets used. if you want to figure out other, better, ways of setting solr home in JBoss, you'll need to find out how to go about configuring jboss to run apps with either Java SYstem properties set (ie: solr.solr.home) or iwth JNDI variables set ("solr/home")... http://wiki.apache.org/solr/SolrInstall -Hoss