On Fri, Feb 1, 2013 at 4:13 AM, Bernd Fehling <bernd.fehl...@uni-bielefeld.de> wrote: > A question to the experts, > > why is the replicated index copied from its temporary location > (index.xxxxxxxxx) > to the real index directory and NOT moved?
The intent is certainly to move and not copy (provided the Directory supports it). See StandardDirectoryFactory.move() > Copying over 100s of gigs takes some time, moving is just changing the file > system link. > > Also, instead of first deleting the old index, why not > - moving the file links of old index to "index.xxxxx.old" You can't do this in Windows? > - moving the file links of new index to "index" > - and finally after new searcher is up, deleting "index.xxxxx.old" > -Yonik http://lucidworks.com