How to recover from Solr deleted index files?

前端 未结 4 1203
长发绾君心
长发绾君心 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:50

    Solr will throw that exception at startup if the index directory exists but is empty. However if you delete the directory, Solr will create it and the empty segments files at startup.

提交回复
热议问题