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

On Fri, Aug 8, 2008 at 6:26 AM, Jacob Singh <[EMAIL PROTECTED]> wrote:

> I see in the docs:
>
> System property substitution
>
> Solr supports system property substitution, allowing the launching JVM
> to specify string substitutions within either of Solr's configuration
> files. The syntax ${property[:default value]}. Substitutions are valid
> in any element or attribute text. Here's an example of allowing the
> runtime to dictate the data directory:
>
>   <dataDir>${solr.data.dir:./solr/data}</dataDir>
>
>
> So what is the property for solr home?  I've tried solr.home,
> solr.solr/home (from JNDI), solr.solrhome...
>
> Thanks,
> Jacob
>
> P.S. is there a list of properties available somewhere?
>
>


-- 
Regards,
Shalin Shekhar Mangar.

Reply via email to