How to recover from Solr deleted index files?

前端 未结 4 1223
长发绾君心
长发绾君心 2021-01-07 22:09

When I delete solr\'s index files on disk, (found in /solr/data/index and solr/data/spellchecker), solr throws an exception whenever I try to make

4条回答
  •  没有蜡笔的小新
    2021-01-07 22:52

    If you are using sunspot solr on rails, sunspot can reindex all the data from the database into solr. However, solr standalone would not know where to pull the data to reindex. You would need a backup of the data.

提交回复
热议问题