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"
>
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.
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
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.
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
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.