On 10/2/06, Panayiotis Papadopoulos <[EMAIL PROTECTED]> wrote:
I have understood thas solr home is not within the webapp directory but how do i tell tomcat where is it ? As i said i tried java -Dsolr.solr.home=/wherver/solr/could/be but without success? Does anyone know how i can do it usind JNDI or somehting else ?
There are three methods... JNDI, solr.solr.home, and ./solr The example ContextFragments for Tomcat shown here show you how to do it via JNDI: http://wiki.apache.org/solr/SolrTomcat <Context docBase="f:/solr.war" debug="0" crossContext="true" > <Environment name="solr/home" type="java.lang.String" value="f:/solr1home" override="true" /> </Context>
Besides where should i put the schema and solconfig xmls ? Inside the solr webapp dir or solr home ? And should i put them just in solr directory or create a subdir solr/conf/
It sounds like you don't know what the solr home should look like. As I said before, see solr_nightly/example/solr for an example solr home with the conf and data directories. Get things working with the example configs and then change it to suit your needs. -Yonik