Recently had a discussion with couchbase team members w.r.t performance of queries returning ~ 1000 records. Since I was using bulk fetch & performance wasn’t satisfactory, suggestion provided was to instead use include docs option while querying only. However in the latest client lib, I am unable to see the option to setIncludeDocs.
Reference Documentation: http://docs.couchbase.com/developer/dev-guide-3.0/views-from-apps.html
View view = client.getView(“beer”, “by_name”);
Query query = new Query();
But I am unable to find this api in the client lib. I am using couchbase java client 2.1.3.