lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdelhamid ABID <aeh.a...@gmail.com>
Subject Re: Solr on Tomcat, how to use an external data directory?
Date Sun, 30 May 2010 07:14:45 GMT
.. and to unset dataDir just leave it blank
<dataDir>${solr.data.dir:}</dataDir>

On Sun, May 30, 2010 at 12:15 AM, Chris Hostetter
<hossman_lucene@fucit.org>wrote:

>
> : Most likely you have missed to point data directory in solrconf.xml,
> : this should help :
> : http://wiki.apache.org/solr/SolrConfigXml#dataDir_parameter
>
> right .. double check what the dataDir setting looks like ... if it's
> unset it uses "data" in your solr instance directory, but if it is set,
> it's (unfortunately) evaluated relative to the "current working directory"
> of your servlet container and some versions of solr had "./data" listed in
> the example solrconfig.xml
>
>
>
> -Hoss
>
>


-- 
Abdelhamid ABID
Software Engineer- J2EE / WEB

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message