Hi Chris, The config.json posted here is the same I used on my local sync_gateway version. In fact, the FAQ section on couchbasecloud.com shows a config.json very similar to mine (except it uses default values). If the cloud version of sync_gateway does not support but just the sync function it should have been clearly stated there.
But anyway, do you know why I'm getting different results using exactly the same config.json? Regards! //Javier El sábado, 1 de marzo de 2014 16:39:28 UTC-6, J. Chris Anderson escribió: > > > > On Friday, February 28, 2014 8:34:04 AM UTC-8, [email protected]: >> >> Hi ! >> >> Scenario 1 (same config.json leads to different results): >> --------------- >> I created a couchbasecloud sync_gateway named "restaurant" with the >> following config.json and the GUEST property checked: >> >> { >> "interface":":4984", >> "adminInterface":":4985", >> "log":["REST"], >> "databases":{ >> "restaurant":{ >> "server":"http://172.16.1.115:8091", >> "bucket":"restaurant", >> "importDocs":true, >> "users": { >> "GUEST":{"disabled":false, "admin_channels":["*"]} >> } >> "sync":`function(doc) {channel(doc.channels);}` >> } >> } >> >> > This doesn't look like valid config JSON, and Couchbase Cloud doesn't let > you set the raw JSON, just the Sync Function. Can you describe in more > detail what you are doing? > > Thanks! > Chris > > -- 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/e9e3f549-a897-4e17-a495-fe8c5e73e3d6%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
