I have tried to search the docs, the mailing list, and the forum for what I think is a basic question, but can’t really find much of an answer, I am sure it has been asked, so my apologies for the dupe, I really just need some help finding a succinct answer, and even a reference to an existing thread is helpful.
How does sync gateway route docs that are created in the shadowed bucket? Further, given there is no authenticated user, I understand that it just sees all docs, but how can I assign a doc created in a bucket via Couchbase APIs that is shadowed via the Sync GW to specific channels in Sync GW/Mobile?
My set up works great when docs are created by the mobile devices and the sync function routes them/assigns them to channels and the processes accessing the shadowed bucket via Couchbase APIs can edit and update existing docs, but when the docs are created by the server process in the shadowed bucket, they don’t belong to any channels - how do I get around this? Thanks!