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
Exception FileNotFoundException signals that an attempt to open the file denoted by a specified pathname has failed. So either your index is invalid or corrupted.
NIOFSDirectory class is used for reading and writing index files. The directory is created at the named location if it does not yet exist.
So you should probably:
index
directory or restore data from backups.