Hi, Is there something in solr logs at startup that can explain the deletion ?
How were created the cores ? using cores API ? Dominique http://www.eolya.fr 2015-01-14 17:43 GMT+01:00 <phi...@free.fr>: > > > Hello, > > I am running SOLR 4.10.0 on Tomcat 8. > > The solr.xml file in > .../apache-tomcat-8.0.15_solr_8983/conf/Catalina/localhost looks like this: > > > <?xml version="1.0" encoding="utf-8"?> > <Context docBase="/archives/solr/example/solr/solr.war" debug="0" > crossContext="true"> > <Environment name="solr/home" type="java.lang.String" > value="/archives/solr/example/solr" override="true"/> > </Context> > > My SOLR instance contains four cores, including one whose instanceDir and > dataDir have the following values: > > > instanceDir:/archives/solr/example/solr/indexapdf0/ > dataDir:/archives/indexpdf0/data/ > > Strangely enough, every time I restart Tomcat, this core's data, [and only > this core's data,] get deleted, which is pretty annoying. > > How can I prevent it? > > Many thanks. > > Philippe > > > > > > > > > > > > >