Re: datadir configuration

2009-10-07 Thread Noble Paul നോബിള്‍ नोब्ळ्
the jndi variables are not picked up for placeholder replacement. On Wed, Oct 7, 2009 at 5:44 PM, clico wrote: > > I tried this in my context.xml > It doesn't work >                        name="solr/home" >                type="java.lang.String" >                value="D:\workspace\solr\home" >

Re: datadir configuration

2009-10-07 Thread clico
I tried this in my context.xml It doesn't work -- View this message in context: http://www.nabble.com/datadir-configuration-tp25782469p25783937.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: datadir configuration

2009-10-07 Thread Shalin Shekhar Mangar
On Wed, Oct 7, 2009 at 2:56 PM, clico wrote: > > What do I put in > ${solr.foo.data.dir:/default/path/to/datadir} > ? > > What is /default/path/to/datadir? > > Solr variables are written like: ${variable_name:default_value} If you are configuring the dataDir as an environment variable, you can

Re: datadir configuration

2009-10-07 Thread clico
What do I put in ${solr.foo.data.dir:/default/path/to/datadir} ? What is /default/path/to/datadir? Gasol Wu wrote: > > Hi, > > add JAVA_OPTS variable in TOMCAT_HOME/bin/catalina.sh like below, > JAVA_OPTS="$JAVA_OPTS -Dsolr.home=/opt/solr > -Dsolr.foo.data.dir=/opt/solr/data" > > solr.data.

Re: datadir configuration

2009-10-07 Thread Gasol Wu
Hi, add JAVA_OPTS variable in TOMCAT_HOME/bin/catalina.sh like below, JAVA_OPTS="$JAVA_OPTS -Dsolr.home=/opt/solr -Dsolr.foo.data.dir=/opt/solr/data" solr.data.dir must mapping to in solrconfig.xml here is example (solrconfig.xml): ${solr.foo.data.dir:/default/path/to/datadir} On Wed, Oct 7, 2

Re: dataDir configuration

2009-02-26 Thread Noble Paul നോബിള്‍ नोब्ळ्
I guess this is a bug introduced by SOLR-943. We shall raise an issue.(JIRA is down now) --Noble On Thu, Feb 26, 2009 at 4:26 PM, Thijs wrote: > Hi, > > I just upgraded from solr-1.3-dev to 1.4-dev and I'm having issues with the > location of the dataDir. > > I configure solr through -Dsolr.solr.