Expunge deletes
authorDennis Schafroth <dennis@indexdata.com>
Mon, 19 Aug 2013 09:33:10 +0000 (11:33 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Mon, 19 Aug 2013 09:33:10 +0000 (11:33 +0200)
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" />'