projects
/
lui-solr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expunge deletes
[lui-solr.git]
/
optimize_solr.sh
diff --git
a/optimize_solr.sh
b/optimize_solr.sh
index
1c22ed8
..
bb4127d
100755
(executable)
--- a/
optimize_solr.sh
+++ b/
optimize_solr.sh
@@
-11,4
+11,4
@@
if [ "$2" != "" ] ; then
HOST_PORT="$2"
fi
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" />'