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.