Register now or log in to join your professional community.
to delete this we need to to put - sign with query.
/solr/select/?q=-id:B96*
http://localhost:8983/solr/chorkiSearch/update?stream.body=<delete><query>id:*:* AND !text:"hello"</query></delete>&commit=trueThis is an example of how you can build a query that would delete all the matching documents.