1 we have to set the solr home in the main function manually, because there is 
some problem to set �CDsolr.solr.home=… in the java command parameters, it 
looks like SolrCore didn’t read the parameter,I'm not sure about this problem, 
so we write in main function: 
Config.setInstanceDir(“E:/apache-solr-1.2.0/example/solr”);

2 there are some libs needed to run the EmbeddedSolr application, too. So we 
would like to copy these libs to our lib folder, and add them to the java build 
path. 

apache-solr-1.2.0/dist/apache-solr-1.2.0.jar

apache-solr-1.2.0/lib/lucene-core-2007-05-20_00-04-53.jar

apache-solr-1.2.0/lib/lucene-analyzers-2007-05-20_00-04-53.jar

apache-solr-1.2.0/lib/lucene-snowball-2007-05-20_00-04-53.jar

apache-solr-1.2.0/lib/lucene-highlighter-2007-05-20_00-04-53.jar

apache-solr-1.2.0/lib/xpp3-1.1.3.4.O.jar

do not use lucene 2.1’s libs but 2.2,it's not supported by apache-solr1.2.0
-----Original Message-----
From: Ryan McKinley [mailto:[EMAIL PROTECTED] 
Sent: 2007年7月11日 21:00
To: solr-user@lucene.apache.org
Subject: Re: How to run the Embedded Solr Sample

> ------------
>  How can i run this program? 
>  In apache site they said its like sample "example" program. If so where i
> have to place this file in tomcat?
> 

If you are running tomcat, this is *not* the way to use solr.

Using tomcat, check:
http://wiki.apache.org/solr/SolrTomcat

Reply via email to