Thanks, good to know. I was looking for a workaround for the slow performance issue with large databases. The idea was to have multiple databases on the client, then specify a filter for the "type" of document in the pull replication, which would reduce the number of documents in the database. Rather than having 1 large database with all the documents, there would be 5 or databases that have a specific type of document, which would help with the performance of the updates and deletes as they are much faster on smaller databases.
I'm not sure how I could achieve this using channels unless I had multiple users. Maybe I'll spend some time looking into the update/delete performance issue then there would be no need for a workaround. -james On Thursday, October 30, 2014 2:09:17 PM UTC-6, Jens Alfke wrote: > > > On Oct 30, 2014, at 12:50 PM, James Norman <[email protected] > <javascript:>> wrote: > > Is it possible to define a Filter on the sync_gateway, then specify the > Filter in the PullReplication? > > > CouchDB supports server-side filters, but the Sync Gateway uses channels > instead, which are more efficient. > > —Jens > > -- 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/93b148bb-0160-4362-b742-76ab62d408e2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
