I’m developing and app for both android and iPhone using CBLite and I’m currently struggling with an issue on the Android app.
What happens is that couchbase lib takes a lot of time to save and update documents when the local database already has a couple hundreds of documents.
This happens when I save properties on my document and on those properties I include the field that I also use to filter documents on my view’s map function.
I get the sense that some sort of re-indexing is being made when I add/update a document.
Do you have any tip so I can bypass this slow performance issue? I’ve tried to not include that particular field on the update operation but then the listener that I have on the databse does not pick the change and I really need that in order to update the UI.