jan-h
3/18/2015 - 12:46 PM

Reindex a SmartTarget Fredhopper instance

Reindex a SmartTarget Fredhopper instance

REM assuming Fredhopper is installed in c:\fredhopper
REM assuming the indexer instance is named SmartTarget

cd c:\fredhopper

call bin\instance SmartTarget stop

mkdir backup-for-reindex
echo "check if the backup location is empty"
pause

copy  data\instances\SmartTarget\data\xml\processed\batch\* backup-for-reindex\
echo "verify the backup"
pause

copy backup-for-reindex\* SmartTarget\data\fas-xml\catalog01\
echo "verify if files are restored"
pause

call bin\reindex SmartTarget

call bin\fresh-index-to-live SmartTarget\

call bin\instance SmartTarget start

echo ""
echo "Done!"
pause