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

Next revision
Previous revision
howtos:repair_corrupt_index [d/m/Y H:i]
domingo created
howtos:repair_corrupt_index [d/m/Y H:i] (current)
Line 1: Line 1:
-Go into the directory where the core file is located (this is version 6.6.0), stop solr and run the repair command:+Go into the directory where the core file is located (this is version 6.6.0), stop solrrun the repair command and finally start solr again: 
 <code> <code>
 cd /opt/solr-6.6.0/server/solr-webapp/webapp/WEB-INF/lib/ cd /opt/solr-6.6.0/server/solr-webapp/webapp/WEB-INF/lib/
 invoke-rc.d solr stop 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 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> </code>
  
 Note that "-ea:org.apache.lucene..." is the literal value of the parameter. 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".
howtos/repair_corrupt_index.txt · Last modified: d/m/Y H:i (external edit)