Browse Source

Adiciona delete-collection.sh

pull/3322/head
Vinícius Cantuária 5 years ago
parent
commit
b7751ef008
  1. 6
      solr/bin/delete-collection.sh

6
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"
Loading…
Cancel
Save