Hello, I have some more data and hence i decided to post it here and take the discussion forward.
What i did was that i downloaded the Todo - Couchbase Lite Phonegap example from Github and modified its code a little bit. I simple entered 150 docs in cblite and then by using one of the default view that is provided in it i query it and it takes around 7 seconds on MOTO E running android 4.4.4. This is just a simple test case to show that it is taking very long to index just 150 docs. Subsequent calls to the view are very fast and the time is in milliseconds. But again if there are more additions to the db and new docs are added then again indexing takes 7 seconds. I hope you guys can reproduce the issue with Todo Lite example. Other query The other query that i have is that in couchbase server whenever a query is made to a view in a design document then all the views in that design document are indexed. This same behavior is not replicated in CBLITE. Each view is updated only when a query is made to that view explicitly. Due to this the response times for ajax calls to cblite from my hybrid app take too long and they render the app useless. Same thing runs lightning fast in iOS and i can understand objective c is faster. But the view indexing simply takes too much time to get the data. Any pointers ? -- 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/7b4f1bbc-7646-4beb-a881-fde2f51c733d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
