Deleting Solr data
Steps to delete a Cassandra table and its data, including the data indexed in Solr.
To delete a Cassandra table and its data, including the data indexed in Solr, from a
DSE Search node, drop the table using CQL. The following example assumes that you
ran the example of using a collection
set. List the Solr files on the file system, drop the table named mysolr
that the demo created, and then verify that the files are deleted from the file
system.
Note: You can drop a column from a CQL table with a Solr
secondary index only when the removal request is against a search node, and the
column is not present in the Solr schema or the column is set to
indexed=false
and docValues=false
.
Wait until you finish working through all the examples before you delete the example data.