Reputation: 21
Solr replicates from master to slave on either commit,optimize or startup.However i m setting up an empty core which acts as a slave core and I want it to replicate data from the master core without firing a commit operation on master core.
Upvotes: 1
Views: 1594
Reputation: 52769
You can Force Replication on the slave from the Solr Admin dashboard.
You can also fire replication through url fetchindex
http://slave_host:port/solr/replication?command=fetchindex
Forces the specified slave to fetch a copy of the index from its master.
If you like, you can pass an extra attribute such as masterUrl or compression (or any other parameter which is specified in the tag) to do a one time replication from a master. This obviates the need for hard-coding the master in the slave.
Upvotes: 1