Set the location of search indexes

Data that is added to a DSE Search node is locally indexed on the DSE node. Data changes to one node also apply to the other nodes. DSE Search has its own indexing documents. You can control where the DSE Search indexing documents are saved.

It is critical that you locate DSE Apache Cassandra transactional data and Solr-based DSE Search data on separate Solid State Drives (SSDs). Failure to do so will very likely result in sub-optimal search indexing performance.

By default, each DSE Search index is saved in solr_data_dir/keyspace_name.table_name or as specified by the dse.solr.data.dir system property.

The dataDir parameter in the solrconfig.xml file is not supported.

To set the location of the search indexes:

  1. Stop the Search node.

  2. Move the solr.data directory to the new location.

  3. Specify the location at startup or in dse.yaml.

    In the following examples, replace /var/lib/cassandra/solr.data with the path to your new data directory.

    • Dynamically set the location at startup on the command line:

      INSTALL_DIRECTORY/bin/dse cassandra -s -Ddse.solr.data.dir=/var/lib/cassandra/solr.data
    • Permanently set the location in dse.yaml:

      solr_data_dir: /var/lib/cassandra/solr.data
  4. Restart the node.

Was this helpful?

Give Feedback

How can we improve the documentation?

© Copyright IBM Corporation 2026 | Privacy policy | Terms of use |  Manage Privacy Choices

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: Contact IBM