svFuture.await();
assertTrue(svFuture.isSuccess());
Namespace ns = new Namespace(Namespace.DEFAULT_BUCKET_TYPE, bucketName.toString());
BinIndexQuery biq =
new BinIndexQuery.Builder(ns, "test_index", "index_test_index_key0", "index_test_index_key9").withKeyAndIndex(true).build();
BinIndexQuery.Response iResp = client.execute(biq);
assertTrue(iResp.hasEntries());
assertEquals(2, iResp.getEntries().size());