diff --git a/solr/bin/delete-collection.sh b/solr/bin/delete-collection.sh new file mode 100644 index 000000000..9e4fb466e --- /dev/null +++ b/solr/bin/delete-collection.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +SOLR_URL=${SOLR_URL-'http://localhost:8983/solr'} +SOLR_COLLECTION=${SOLR_COLLECTION-'sapl'} + +curl -X POST "$SOLR_URL/admin/collections?action=DELETE&name=$SOLR_COLLECTION" \ No newline at end of file