Re: specifying dataDir on launch of jetty

2007-01-08 Thread Chris Hostetter
I don't think there is anyway to do what you describe at the moment ... SOLR-79 was an attempt at allowing variabes representing system properties to be used in the solrconfig.xml, but it hasn't been commited because it's an incomplete solution. what you could do, is create a seperate Solr "home"

Re: specifying dataDir on launch of jetty

2007-01-08 Thread Ryan McKinley
You can specify a configuration file when jetty starts. Take a look at: http://wiki.apache.org/solr/SolrJetty then you can start jetty with: java -jar start.jar yourjettyconfig.xml On 1/8/07, Brian Whitman <[EMAIL PROTECTED]> wrote: I would like to specify the solr dataDir on launch of jetty

specifying dataDir on launch of jetty

2007-01-08 Thread Brian Whitman
I would like to specify the solr dataDir on launch of jetty via java - jar start.jar instead of editing the solrconfig.xml before launching. I've tried java -Dsolr.dataDir=/x/y/z -jar start.jar but it seems to have no effect -- it starts with the solrconfig.xml default. Use case is that I wo