Managing the location of Solr data

Controlling where the Solr data files are saved on the server.

Solr has its own set of data files. Like Cassandra data files, you can control where the Solr data files are saved on the server. By default, the data is saved in Cassandra data directory/solr.data. You can change the location from the Cassandra data directory to another directory, from the command line. For example, on Linux:
cd install_directory
bin/dse cassandra -s -Ddse.solr.data.dir=/opt

In this example, the solr dta is saved in the /opt directory.