I implemented a “reindex” command which simply creates an IndexWriter
with :create => true for a prexisting index.
The “reindexing” seems to start out ok, with several thousand docs
added, then Ferret throws an exception:
IO Error occured: couldn’t rename file “index_0.tmp” to “index_0.cfs”:
I guess that _0.cfs is held open by an IndexReader, so the :create is
failing to delete it and hence the rename is failing.
Kind Regards
Neville