OK, so this is resolved and the queries are very fast now. The issue is that I was calling queryRow.getDocument().getProperties() on each row and this would do a query for each individual document. I changed it to just (Map)queryRow.getValue() and its fast. This is clearly the value that was used in the emitter.
This normally would have been very clear, but all the example apps call queryRow.getDocument() rather than the queryRow.getValue() even though they emit the document. Glad its fast now and hopefully this thread can same some people some time. Thanks -james -- 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/368154cc-a1b6-43f6-8342-1746f7e837c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
