I’ve see some posts about bucket shadowing but I noticed most people do not recommend it. The Bucket Shadowing wiki starts with a big Warning against its use.
That said, I’d like to know what is the recommended setup so I can have N1QL queries and the Sync Gateway at the same time.
I understand I can’t write to Sync Gateway bucket directly because of the CouchDB revision system, but could I use N1QL for querying the bucket while using the REST API for writing (updating, deleting, inserting)?
If this is not possible, is the bucket shadowing still the only/best way to allow this scenario (N1QL + Sync Gateway)?
Any other suggestion?