On May 29, 2008, at 4:42 AM, Noble Paul (JIRA) wrote:
[ https://issues.apache.org/jira/browse/SOLR-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12600706
#action_12600706 ]
Noble Paul commented on SOLR-561:
---------------------------------
There are problems with index replacement in windows.
Windows does not allow as to delete the index folder, because it is
being used .
How do we solve this?
Is it that you want to remove the whole existing index or is it just
dealing with the diffs? Could you just switch over to a new directory
and then remove the other one after all references to the old one are
gone? I must admit, I don't know a lot about how Windows does this
stuff, if they offer a way to override the locks, or what. Worst
case, I suppose, is you could mark it as delete on exit, possibly?
Maybe you could leave the dir there, but empty the old index after
bringing the new one online?
Just rambling...
Grant