On Saturday, September 13, 2014 10:17:22 PM UTC+5:30, Jens Alfke wrote: > > > On Sep 13, 2014, at 1:52 AM, Rajagopal V <[email protected] <javascript:>> > wrote: > > I have a continuous replication that brings some specified "types" of > documents. Now when the user does a Search on his mobile for other "types", > there is a REST call that goes to my PHP server that returns document ids > back to the mobile(these are not yet available in the mobile). If I were to > do a one-shot pull replication using the returned ids, I assume that those > will be available in the mobile and subsequently be replicated continuously > when I update them through the mobile. > > > In 1.0.2 the answer is no; a one-shot replication will only update the > documents once. To keep all the docs you've pulled fresh, you'll have to > keep track of all of their IDs (persistently) and run a continuous pull > replication with those doc IDs. > > Thanks Jens. Is it possible to run another continuous replication with just the docIds set to the ones that I want to replicate. So, one of my continuous replications will pull specific "types" and the other one(or more) will run with specified document Ids.
I will try out based on the branch feature you mentioned below but I have to get this working on both iOS and Android, so am looking for something that will work on both. Thanks Raja -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/57e1a211-df11-498e-9726-96df63a970d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
