added a script which can check the solr index for inconsistencies while

the peer is down. This shall be used in emergency cases where a check or
fix for a broken solr index is needed.
pull/1/head
Michael Peter Christen 11 years ago
parent ce4d42d77c
commit bfaf42b0b8

@ -0,0 +1,8 @@
#!/bin/bash
cd "`dirname $0`/.."
for i in DATA/INDEX/* ; do
if [ -d "$i" ]; then
java -cp 'lib/*' org.apache.lucene.index.CheckIndex $i/SEGMENTS/solr_46/collection1/data/index/ -fix
fi
done
cd ..
Loading…
Cancel
Save