I've got two clients doing p2p e.g. syncing to the each others CBLListener. 
Setting up a filtered push or an unfiltered pull replications is easy and 
works fine.

But how and where do i setup the fiter for a pull? The filter should run on 
the "server" e.g. the CBLListener as far as I understand it.



On Monday, May 15, 2017 at 7:07:17 PM UTC+9, jam...@couchbase.com wrote:
>
> Yes you can use a filter function on a pull 
> <https://developer.couchbase.com/documentation/mobile/1.4/guides/couchbase-lite/native-api/replication/index.html#filtered-pull-from-couchdb-pouchdb-or-cloudant>
>  
> or push 
> <https://developer.couchbase.com/documentation/mobile/1.4/guides/couchbase-lite/native-api/replication/index.html#filtered-push-replications>
>  
> replication.
>
> On Monday, May 15, 2017 at 9:15:56 AM UTC+2, Sören Havemester wrote:
>>
>> Is there any way to setup a filtered pull replication for P2P use? Is 
>> there something to be set up with CBLListener like a design/filter doc as 
>> in CouchDB?
>>
>> Thanks,
>> Søren
>>
>

-- 
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 mobile-couchbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/38f4291c-70df-4e40-a35c-f6c7b8ff320e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to