I am using solr 7.2.1
Every now & then some of the cores fail to load due to "SolrCore
From error message it looks like the reason for failure is the core missing
some of the files:
Error opening new searcher
Caused by: java.nio.file.NoSuchFileException:
But I could not find any reason for the loss of these files.
Also downloading the missing files from the backup we maintain resolves this
Any idea what might be causing this?
This simply should _not_ be happening due to Solr/Lucene "doing
something". Some possibilities:
- some other process is deleting them
- somehow you have more than one Solr core pointing at the same data
directory. To do this you'd have had to do something like use
NoLockPolicy, so this is unlikely.
- you have errors you're not noticing like "disk full", which leads to
incomplete directories. This also sounds unlikely since you load from
backups so it sounds like an unchanging index. Since the segments are
read-only they shouldn't disappear due to disk full errors.
I've never heard of Solr/Lucene mysteriously deleting index files, so
I suspect something outside of Solr is doing this.
> I am using solr 7.2.1
> Every now & then some of the cores fail to load due to "SolrCore
> Initialization Failure".
> From error message it looks like the reason for failure is the core missing
> some of the files:
> Error opening new searcher
> Caused by: java.nio.file.NoSuchFileException:
> But I could not find any reason for the loss of these files.
> Also downloading the missing files from the backup we maintain resolves this
> Any idea what might be causing this?
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html