Solr command to delete records from a index
example:
http://localhost:8983/solr/<index-name>/update?stream.body=<delete><query>*:*</query></delete>&commit=true
There can be specific query for which data has to be deleted.
example:
http://localhost:8983/solr/<index-name>/update?stream.body=<delete><query>contenttype:"RSS"</query></delete>&commit=true
example:
http://localhost:8983/solr/<index-name>/update?stream.body=<delete><query>*:*</query></delete>&commit=true
There can be specific query for which data has to be deleted.
example:
http://localhost:8983/solr/<index-name>/update?stream.body=<delete><query>contenttype:"RSS"</query></delete>&commit=true