Am 08.03.2010 15:08, schrieb stocki:
Hello.

is use 2 cores for solr.

when is restart my tomcat on debian, tomcat delete my index.
you should check your tomcat-setup.
is set data.dir to
<dataDir>${solr.data.dir:./suggest/data}</dataDir>
and
<dataDir>${solr.data.dir:./search/data}</dataDir>

use an absolute path [you have not set the solr.home path] this is working/tmp dir from tomcat per default.
<cores adminPath="/admin/cores">
     <core name="search" instanceDir="search" dataDir="/search/data/index"/>
     <core name="suggest" instanceDir="suggest"
dataDir="/suggest/data/index"/>
</cores>

is ok. but this is relative from solr.home.
so. why is my index only temp ?

try to setup solr again.
http://wiki.apache.org/solr/SolrTomcat

try to setup with Context fragment.

Create a Tomcat Context fragment to point /docBase/ to the /$SOLR_HOME/apache-solr-1.3.0.war/ file and /solr/home/ to /$SOLR_HOME/:


and avoid storing the data in .../tmp/

Reply via email to