okay i got it .. iam studid XD  i set my dataDir to /var/data/solr/... and
gives the correct rights now it runs.



Jens Kapitza-2 wrote:
> 
> 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/
> 
> 
> 





-- 
View this message in context: 
http://old.nabble.com/Tomcat-save-my-Index-temp-...-tp27819967p27834924.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to