On Jul 4, 2007, at 12:00 PM, Ryan McKinley wrote:
in solrconf.xml I found this entry, which is now uncomented
<dataDir>${solr.data.dir:./solr/data}</dataDir> before it was
<!--
<dataDir>./solr/data</dataDir>
-->
Don't know if this is the desired behaviour. How should I change
the entry
not to have the data in the working directory and not to uncomment
the entry
!
Just comment out the dataDir bit and the path will be relative to
solr home. If you leave it in, it will be relative to the running
directory so use an absolute path.
I ran in to this problem a while ago... we talked about changing
it, but i don't think anything has happened yet.
http://www.nabble.com/Re%3A-svn-commit%3A-r544356----lucene-solr-
trunk-example-solr-conf-solrconfig.xml-tf3905591.html#a11073210
Sorry... I'm in the midst of lots of personal stuff for the next few
weeks. I'm happy however you want to change it, Ryan. It's just an
example configuration, so having the system property substitution in
there is not necessary - just figured it'd be handy. If its causing
more trouble than its worth by all means take it out (or wait and nag
me again in a few weeks).
Erik