Subversion Repositories SmartDukaan

Rev

Rev 4159 | Rev 4849 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4159 Rev 4732
Line 88... Line 88...
88
 
88
 
89
DIFF=`diff -q schema.xml new_schema.xml`
89
DIFF=`diff -q schema.xml new_schema.xml`
90
if [ ! -z "$DIFF" ]
90
if [ ! -z "$DIFF" ]
91
then
91
then
92
	cp new_schema.xml schema.xml
92
	cp new_schema.xml schema.xml
93
	/root/code/trunk/runutils/stop-solr-service.sh
93
	/etc/init.d/solr-server stop
94
	/root/code/trunk/runutils/start-solr-service.sh
94
	/etc/init.d/solr-server start
95
	sleep 15
95
	sleep 15
96
fi
96
fi
97
 
97
 
98
echo "Posting data to solr"
98
echo "Posting data to solr"
99
echo "======================================================="
99
echo "======================================================="