Moved scripts
[lui-solr.git] / scripts / commit_solr.sh
diff --git a/scripts/commit_solr.sh b/scripts/commit_solr.sh
new file mode 100644 (file)
index 0000000..2b3f6c3
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/bash
+HOST=localhost
+PORT=8080
+curl http://$HOST:$PORT/solr/update -H "Content-Type: text/xml" --data-binary '<commit waitFlush="false" waitSearcher="false" expungeDeletes="true"/>'
\ No newline at end of file