You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yacy_search_server/bin/checkindex.sh

13 lines
312 B

#!/usr/bin/env sh
cd "`dirname $0`"
. ./checkDataFolder.sh
for i in "$YACY_DATA_PATH/INDEX"/* ; do
if [ -d "$i" ]; then
echo "Checking Solr index at $i..."
java -cp "$YACY_APP_PATH/lib/*" org.apache.lucene.index.CheckIndex "$i/SEGMENTS/solr_6_6/collection1/data/index/" -exorcise
fi
done
cd ..