How to fix IndexNotFoundException: no segments* file found?

后端 未结 2 1621
北荒
北荒 2020-12-10 07:34

I write my own code to index some data files myself. It was all working. Once I modified the schema.xml file, now i get internal server error that i have no ide

2条回答
  •  悲哀的现实
    2020-12-10 07:58

    Exception IndexNotFoundException signals that no index was found in the Directory. Possibly because the directory is empty, however can also indicate an index corruption.

    So you should:

    1. Delete the index directory or restore data from backups.
    2. Restart the server (or at least the reload the config).

提交回复
热议问题