Solr – Clean up Index


Sometimes you want to delete all the records from the Solr index without deleting the index directory.
This can be done by executing an http url :-



Or by posting data xml data :-

Cleaning data using Solrj :-

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.