How to recover from Solr deleted index files?

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

    The problem may lie with the segments file if you delete the index . the files are physically deleted but are present in the ram or cache of the solr . Avoid deleting files directly from solr index files physically . use delete query to delete the index , doing this would alter the segments of the index and you will not have to restart the solr

    regards

    Rajat

提交回复
热议问题