I have an existing working application that uses channels to sync data from a CouchBase database (5.0.1) using SyncGateway (1.5.1) to a Cordova application built with the Couchbase-Lite-PhoneGap-Plugin . The number of objects is some channels is causing performance issues (342K objects). I was trying to see if I could use filtered replication on the pull sync to reduce the number of objects without having to change the Channel architecture.
Check out the documentation on channels and sync functions. Then you can define a channel for the subset of documents you want the client to have, and specify that channel name to the CBL replicator.
Your initial post says you were reading Apache CouchDB documentation. That’s not our product and not our documentation. If you have suggestions about our docs, there is a feedback button at the bottom of every page that you can use.