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