Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
Hi SHalin, I'm using JNDI and to set the solr home via an override like so: solr/home path/to/solr/home java.lang.String This works like a charm, and I have 20 instances which all link to the same conf/ folder which has the solrconfig.xml It's just that I don't think I need 2

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Shalin Shekhar Mangar
Not sure why you are passing the args. If you are using the standard directory structure, it may not be needed. Try removing the args and env sections and see. It works great for me that way. On Fri, Aug 8, 2008 at 12:57 PM, Jacob Singh <[EMAIL PROTECTED]> wrote: > Hi Shanlin, > > Thanks for you

Re: What is the variable in sfconfig.xml for solr home

2008-08-08 Thread Jacob Singh
Hi Shanlin, Thanks for your reply. I tried the following: /opt/solr/bin/snapshooter /opt/solr/bin true -d ${solr.solr.home:.}/data MYVAR=val1 in my solrconfig.xml but I always get the default (.). I am using overrides through JNDI to set solr/home and this w

Re: What is the variable in sfconfig.xml for solr home

2008-08-07 Thread Shalin Shekhar Mangar
You can set solr home by passing -Dsolr.solr.home=/path/to/solr/home when running your container (the double solr is *not* a typo) You can also use JNDI to configure it. Look under the "Installation and Configuration" section in the wiki for container-specific instructions: http://wiki.apache.org/