User Tools

Site Tools


howtos:repair_corrupt_index

This is an old revision of the document!


Go into the directory where the core file is located (this is version 6.6.0), stop solr, run the repair command and finally start solr again:

cd /opt/solr-6.6.0/server/solr-webapp/webapp/WEB-INF/lib/
invoke-rc.d solr stop
java -cp lucene-core-6.6.0.jar -ea:org.apache.lucene... org.apache.lucene.index.CheckIndex "/var/solr/data/dovecot/data/index" -exorcise
invoke-rc.d solr start

Note that “-ea:org.apache.lucene…” is the literal value of the parameter.

howtos/repair_corrupt_index.1532768478.txt.gz · Last modified: d/m/Y H:i by domingo