Hi there,
I suspect that this is a beginners question, but I feel like from reading the documentation and having read a few sections of the Developing with Couchbase Server book I still haven't quite figured out how it all works.
We are developing an Android app and we have got the sync for documents already set up. Now when it comes to the Views we created it with JavaScript on the server, because first I thought it would be possible to just query a View on the server from within the app and CBL.
This perception has now changed and from reading the ToDo app code, you need to write your own View in CBL and then query that one.
How does this work then - is there a way to sync the index of the View as well or do you have to keep one locally and one on the server.
To me it seems just a bit of a performance issue to think that the Android device has to do the same map/reduce jobs as the Couchbase server.
I would really appreciate if someone could shed some light on this issue.
Thanks in advance,
Manuel