Views in Couchbase upgrade to 3.0.1 not backword compatible?

I recently upgraded couchbase server from 2.5 to 3.0.1. In 2.5 i was querying views with the below command and i could get all the data back. But after the upgrade i always get empty set.

c.b.View(“doc”, “doc”, map[string]interface{}{“stale”: false, “ascending”: true, “include_docs” : true, “start_key” : xxx })

Is the “include_docs” not supported in 3.0.1?

Technically, include_docs was never supported and it was not documented. That’s a feature of CouchDB that is handled differently in Couchbase. In each of the SDKs, we have a logical include_docs which will fetch the item along with the view results. It’ll fetch the doc based on the id in the view results.

It was removed in Couchbase Server 3.0.