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

howtos:repair_corrupt_index [d/m/Y H:i]
domingo created
howtos:repair_corrupt_index [d/m/Y H:i]
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: 
-<​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 
- 
-</​code>​ 
- 
-Note that "​-ea:​org.apache.lucene..."​ is the literal value of the parameter. 
- 
  
howtos/repair_corrupt_index.txt · Last modified: d/m/Y H:i (external edit)