(root)/trunk/runutils/update-content-and-catalog.sh – Rev 20852 → 22374
Rev 20852 |
Go to most recent revision |
Show entire file |
Ignore whitespace |
Details |
Blame |
Last modification |
View Log
| RSS feed
| Rev 20852 |
Rev 22374 |
| Line 162... |
Line 162... |
| 162 |
echo "======================================================="
|
162 |
echo "======================================================="
|
| 163 |
|
163 |
|
| 164 |
cd ${SOLR_DIR}
|
164 |
cd ${SOLR_DIR}
|
| 165 |
./deleteAll.sh
|
165 |
./deleteAll.sh
|
| 166 |
STATUS=$(($STATUS+$?))
|
166 |
STATUS=$(($STATUS+$?))
|
| 167 |
python /usr/local/lib/python2.7/dist-packages/PyProj-0.1-py2.7.egg/shop2020/model/v1/catalog/script/HotspotContent.py
|
167 |
#python /usr/local/lib/python2.7/dist-packages/PyProj-0.1-py2.7.egg/shop2020/model/v1/catalog/script/HotspotContent.py
|
| 168 |
ls ${SOLR_IRDATA} | xargs java -jar post.jar
|
168 |
ls ${SOLR_IRDATA} | xargs java -jar post.jar
|
| 169 |
STATUS=$(($STATUS+$?))
|
169 |
STATUS=$(($STATUS+$?))
|
| 170 |
if [ $? -ne 0 ]
|
170 |
if [ $? -ne 0 ]
|
| 171 |
then
|
171 |
then
|
| 172 |
SOLR_IRDATA=/var/lib/tomcat6/webapps/export/solr-${DEPLOYED_TIMESTAMP}/*irdata_solr.xml
|
172 |
SOLR_IRDATA=/var/lib/tomcat6/webapps/export/solr-${DEPLOYED_TIMESTAMP}/*irdata_solr.xml
|