Expunge deletes
[lui-solr.git] / optimize_solr.sh
index 1c22ed8..bb4127d 100755 (executable)
@@ -11,4 +11,4 @@ if [ "$2" != "" ] ; then
     HOST_PORT="$2"
 fi
 
-curl http://${HOST_PORT}/solr/update -H "Content-Type: text/xml" --data-binary '<optimize waitSearcher="false" />'
\ No newline at end of file
+curl http://${HOST_PORT}/solr/update -H "Content-Type: text/xml" --data-binary '<optimize waitSearcher="false" expungeDeletes="true" />'