Nitihin,

Looks like you posted here *and* the forum:
https://forums.couchbase.com/t/filtered-pullreplication-on-a-channel/3601

Please just post it once, since otherwise it will lead to confusion and
extra work.

(to be fair, I realize it's confusing that we have multiple forums.. )



On Fri, Apr 24, 2015 at 7:33 AM, Nitz Malikarjun <[email protected]>
wrote:

> Hi Folks,
>
> I have android LITE with below pull setup.
>
> Replication pullReplication = database.createPullReplication(syncUrl);
> pullReplication.setContinuous(true);
> Authenticator auth = new BasicAuthenticator(user, "password");
> pullReplication.setAuthenticator(auth);
> userChannel = Arrays.asList("user1");
> pullReplication.setChannels(userChannel);
> pullReplication.setFilter("designdoc/itemFilter");
> Map params = new HashMap();
> params.put("searchid", "item");
> pullReplication.setFilterParams(params);
> pullReplication.start();
> pullReplication.addChangeListener(this);
>
> How do i deal with filters if i am using couchbase server.?
>
> Channel and filter can work together?
>
> Basically I want to pull some filtered docs which belongs to a channel.
>
> Have created views and done some emit
> http://docs.couchbase.com/admin/admin/UI/ui-views-editor.html.
>
> Is the the way the filters work if i am not using couchDB?if so how to set
> filters in lite.
>
> Something similar to
> https://github.com/couchbase/couchbase-lite-android/issues/200
>
> Little puzzled help me out.
>
> Thanks
> Ntihin
>
> --
> 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/d90613dc-c3a8-4823-a25c-e7f03c56ce08%40googlegroups.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CACSSHCGN0fjzBpN-J45TVee%3DW2LW78%3De_wE4vaSZofQsfSrLew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to