build index on observable fields

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