projects
/
lui-solr.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Packages for Solr 4
[lui-solr.git]
/
commit_solr.sh
1
#!/bin/bash
2
3
if [ "$1" == "" ] ; then
4
echo "No database id given"
5
exit 1 ;
6
fi
7
HOST=localhost
8
PORT=8080
9
curl http://$HOST:$PORT/solr/update -H "Content-Type: text/xml" --data-binary '<commit waitFlush="false" waitSearcher="false"/>'