Mercurial > hg > LGDataverses
diff scripts/search/clear @ 10:a50cf11e5178
Rewrite LGDataverse completely upgrading to dataverse4.0
| author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
|---|---|
| date | Tue, 08 Sep 2015 17:00:21 +0200 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/search/clear Tue Sep 08 17:00:21 2015 +0200 @@ -0,0 +1,5 @@ +#!/bin/sh +echo "deleting all data from Solr" +curl http://localhost:8983/solr/update/json?commit=true -H "Content-type: application/json" -X POST -d "{\"delete\": { \"query\":\"*:*\"}}" +# this was for elasticsearch +#curl -XDELETE http://localhost:9200/dataverse/
