: looking at CollectionsDistribution and its documentation (
: http://wiki.apache.org/solr/CollectionDistribution). It appeared that it
: uses rsync which is specific to Linux systems.
: 
: Does it mean that Collections in Solr are not available on Windows or that
: it uses a different mechanism for achieving the same funtionality?

1) "collection" as defined on the page you linked to is just refering to 
the lucene index itself.  you can certianly have a Solr index on windows.

2) the issue with replication/distribution and windows isn't rsync (that 
is available as part of cygwin) the issue relates to the fact that even 
though windows has hardlinks, you can't move a hard link to a file while 
it's open (which is fairly crucial to the way the 
snapshooter/snapinstaller scripts work)

3) the scripts provided (and refered to on that wiki page) are only one 
possible way to do collection distribution that relies on rsync and 
(movable) hard links.  the "hooks" available in Solr for doing replication 
are extremely flexible and give you the ability to have arbitrary java 
code (or arbitrary shell commands) executed on the master when the index 
is in a stable state to be replicated, and allow you to notify the slave 
when it should re-open the index using a simple HTTP POST.  If anyone 
is interested in providing new replication utilities specific to windows, 
i'm sure we could include them with future Solr releases as well.




-Hoss

Reply via email to