When I try to to create an object of new IndexSearcher(fsDir)
class it is throwing IOException read past EOF
. The search index is not RAM based, it is NFS based (used FSDirectory
lucene class).
I googled and got that this one
There is not permission issue, neither locked, I checked with lockhunter
So there must be write permission and none is using that directory.
It was working the past 2-3 months. Yesterday suddenly stopped working, all indexed files in the folder.
What else may cause to this exception? Is there something like if index is 2-3 month old (some period), then it gets expired and gives this exception?