Skip to content

Instantly share code, notes, and snippets.

@clifferson
Created December 21, 2011 07:18
Show Gist options
  • Save clifferson/1505052 to your computer and use it in GitHub Desktop.
Save clifferson/1505052 to your computer and use it in GitHub Desktop.
Fix corrupt Solr index files
># java -ea:org.apache.lucene -cp /var/lib/chef/solr/solr-jetty/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-core-2.9-dev.jar org.apache.lucene.index.CheckIndex -fix /var/cache/chef/solr/data/index/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment