mirror of https://github.com/interlegis/sapl.git
6 lines
255 B
6 lines
255 B
#!/usr/bin/env bash
|
|
|
|
SOLR_URL=${SOLR_URL-'http://localhost:8983/solr'}
|
|
SOLR_COLLECTION=${SOLR_COLLECTION-'sapl'}
|
|
|
|
curl -X POST "$SOLR_URL/$SOLR_COLLECTION/update?commit=true" -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>'
|
|
|