CouchbaseCluster setup for multiple nodes running data, query, index and analytics

This answer is valid only for SDK versions >= 2.70, right?
Answer here Java SDK can not access Query node in couchbase 5.0 recommends to not include query nodes in bootstrap list.
Also should Index nodes be included, or only kv nodes are compulsary ?