StoreBucketPropsOperation propsOp =
new StoreBucketPropsOperation.Builder(namespace)
.withSearchIndex("test_index")
.build();
cluster.execute(propsOp);
propsOp.await();
if (!propsOp.isSuccess())
{
assertTrue(propsOp.cause().toString(), propsOp.isSuccess());
}