Integrating with 2i index.

new integration with bare minimum changes to couchbase.go.