projects
/
lui-solr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7f2907
)
Remove the database id: not in use. Expunge deletes
author
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Aug 2013 09:32:07 +0000
(11:32 +0200)
committer
Dennis Schafroth
<dennis@indexdata.com>
Mon, 19 Aug 2013 09:32:28 +0000
(11:32 +0200)
commit_solr.sh
patch
|
blob
|
history
diff --git
a/commit_solr.sh
b/commit_solr.sh
index
0cb3a43
..
2b3f6c3
100644
(file)
--- a/
commit_solr.sh
+++ b/
commit_solr.sh
@@
-1,9
+1,4
@@
#!/bin/bash
-
-if [ "$1" == "" ] ; then
- echo "No database id given"
- exit 1 ;
-fi
HOST=localhost
PORT=8080
-curl http://$HOST:$PORT/solr/update -H "Content-Type: text/xml" --data-binary '<commit waitFlush="false" waitSearcher="false"/>'
\ No newline at end of file
+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