remove obsolete code from index view

Change-Id: I3fb4f7fd23f7237d8b4219d9131ecedb61fc7ba6
Reviewed-on: http://review.couchbase.org/24808
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>