lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidworks.com>
Subject Re: expert question about SolrReplication
Date Sat, 02 Feb 2013 02:48:27 GMT
On Fri, Feb 1, 2013 at 4:13 AM, Bernd Fehling
<bernd.fehling@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

Mime
View raw message