mirror of https://github.com/interlegis/sapl.git
committed by
GitHub
2 changed files with 6 additions and 6 deletions
@ -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/$SOLR_COLLECTION/update?commit=true" -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>' |
||||
@ -1,6 +0,0 @@ |
|||||
#!/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&stream.body=<delete><query>*%3A*</query></delete>" |
|
||||
Loading…
Reference in new issue