Sistema de Apoio ao Processo Legislativo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

6 lines
192 B

#!/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"