User Tools

Site Tools


howtos:repair_corrupt_index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
howtos:repair_corrupt_index [28/07/2018 11:04] domingohowtos:repair_corrupt_index [02/12/2018 21:34] (current) – external edit 127.0.0.1
Line 1: Line 1:
 +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:
  
 +<code>
 +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
 +</code>
 +
 +Note that "-ea:org.apache.lucene..." is the literal value of the parameter.
 +
 +The parameter "/var/solr/data/dovecot/data/index" describes the path to the index called "dovecot".