Delete images

In order to delete images from Solr, you have to delete the complete document from the index. Deleting documents from Solr is done via the /update request handler.

For general information on how to delete documents from Solr refer to the official Solr Reference Guide

This is an example of deleting an image contained by the Solr document with id 1. Put the following JSON into a file named delete.json in the current working directory:

  "delete": {

You can then send this JSON payload to the /update request handler of a Solr collection reachable at localhost/solr/collection with this curl command:

curl "http://localhost/solr/collection/update/json?commit=true" -d @delete.json