Re: Replication happening before replicateAfter event

2012-12-12 Thread Duncan Irvine
Hi Erick, Thanks for replying. On the subject of commit vs optimize: for the moment I'm actually replacing the entire index each time beginning with a delete *:*, so I think doing an optimize is actually ok, as it is essentially a new index anyway. Ultimately, I think I'll want to be doing smal

Re: Replication happening before replicateAfter event

2012-12-01 Thread Erick Erickson
First comment: You probably don't need to optimize. Despite its name, it rarely makes a difference and has several downsides, particularly it'll make replication replicate the entire index rather than just the changed segments. Optimize purges leftover data from docs that have been deleted, which w

Replication happening before replicateAfter event

2012-11-30 Thread Duncan Irvine
Hi All, I'm a bit new to the whole solr world and am having a slight problem with replication. I'm attempting to configure a master/slave scenario with bulk updates happening periodically. I'd like to insert a large batch of docs to the master, then invoke an optimize and have it only then repli