Frequently Asked Questions - SearchStax

The SearchStax® Frequently Asked Questions page includes the following approved question and answer about our Apache Solr Cloud services.

How do I drop, delete, or empty a Solr index?

During early development it is common to discard an index and reload the data under a new schema. Clients often ask us how to "drop" an index.

Although it is possible to delete an index and rebuild it, this is discouraged. It forces a great deal of unnecessary Zookeeper activity. Instead, we recommend issuing a delete query to empty the index. Then reload your data.

https:/<load_balancer_URL>/solr/<collection_name>/update?stream.body=<delete><query>:</query></delete>&commit=true'
This step is part of the more comprehensive How do I update the Solr Schema? procedure.

We love to answer questions!

Please contact the SearchStax Support Desk immediately if you have any question about Solr Cloud deployments.

Return to Frequently Asked Questions.