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
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
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
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/