On 12/17/2015 8:00 AM, Moll, Dr. Andreas wrote:
> we are using SolR for some years now and are currently switching from SolR 
> 3.6 to 5.3.1.
> SolR 5.3.1 deletes all index files when it shuts down and there were external 
> changes on the index-files
> (in our case from a second SolR-server which produces the index).

I have *never* seen Solr delete the index files without outside
influence.  Either there's a misconfiguration, or something in your
environment is doing the delete.

If the DirectoryFactory were changed to use RAMDirectoryFactory, then
all the data would be in memory, and that would be purged on shutdown,
because it doesn't exist anywhere else.

Assuming you're using a standard directory implementation that puts
files on the disk, there is only one feature that I'm aware of that can
automatically delete information -- it's possible to index documents
with an expiration date, so it's automatically deleted once the
expiration date is reached.  I would not expect this to delete
everything on shutdown, though.

To figure out what's going on, we will need information about your
server, exactly how you installed Solr, how it is started, how it is
stopped, etc.

Thanks,
Shawn

Reply via email to