2009/5/28 Koji Sekiguchi <k...@r.email.ne.jp> > How does your <dataDir/> look like in solrconfig.xml? > > <!-- Used to specify an alternate directory to hold all index data > other than the default ./data under the Solr home. > If replication is in use, this should match the replication > configuration. --> > <dataDir>${solr.data.dir:./solr/data}</dataDir>
It looks just like this. Which made me notice that this variable isn't being defined in the tomcat init.d script, so I added it. Now it kind of works. I think. Although... /var/solr/data now contains this... drwxr-xr-x 2 root root 4096 2009-05-28 13:59 index drwxr-xr-x 2 root root 4096 2009-05-28 13:59 spellchecker1 drwxr-xr-x 2 root root 4096 2009-05-28 13:59 spellchecker2 drwxr-xr-x 2 root root 4096 2009-05-28 13:59 spellcheckerFile But under /usr/local/tomcat/webapps/solr we also have this: drwxr-xr-x 2 root root 4096 2009-05-28 13:59 admin -rw-r--r-- 1 root root 2694 2008-08-27 09:05 favicon.ico -rw-r--r-- 1 root root 1693 2008-08-27 09:05 index.jsp drwxr-xr-x 2 root root 4096 2009-05-28 13:59 META-INF drwxr-xr-x 3 root root 4096 2009-05-28 13:59 WEB-INF Is this right? Or is there something else I need to change to get everything under one roof? Tim