CBQE-968: add index build for consistency case

Change-Id: I98502c81b3f4a0470dc9e21b8b042d99cbaec47a
Reviewed-on: http://review.couchbase.org/24008
Tested-by: buildbot <build@couchbase.com>
Reviewed-by: Andrei Baranouski <andrei.baranouski@gmail.com>