Check the dataDir setting in solrconfig.xml.
Thanks,
Matt Weber
eSr Technologies
http://www.esr-technologies.com
On Jun 5, 2009, at 6:03 AM, Dean Pullen wrote:
I lied, it's actually saving data to:
/usr/local/jboss-portal-2.7.1.GA/bin/C:\home\jboss\solr\data
Which is a tad crazy! And I have no idea why!
Dean.
-----Original Message-----
From: Dean Pullen [mailto:dean.pul...@msp-uk.com]
Sent: 05 June 2009 09:47
To: solr-user@lucene.apache.org
Subject: Solr Home on Linux JBoss ignored
Hi all,
Have an odd problem on JBoss 4.2.3 running on Redhat.
It's odd, because the configuration works fine on Windows.
Our Solr home is defined in the Solr.war web.xml as:
[Linux]
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>/home/jboss/solr</env-entry-value>
</env-entry>
[Windows]
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>c:/home/jboss/solr</env-entry-value>
</env-entry>
However, on Linux Solr is still defaulting to JBoss Web's [Tomcat]
work directory, i.e.
/usr/local/jboss-portal-2.7.1.GA/server/default/work/jboss.web/
localhost/solr
Instead of the defined /home/jboss/solr
Can anyone shed any light on this?
Thanks,
Dean.
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
Scanned by MailDefender - managed email security from intY -
www.maildefender.net
Scanned by MailDefender - managed email security from intY -
www.maildefender.net