assertTrue(putOp.isSuccess());
assureIndexExists("test_index");
Namespace namespace = new Namespace(yokozunaBucketType, searchBucket);
StoreBucketPropsOperation propsOp =
new StoreBucketPropsOperation.Builder(namespace)
.withSearchIndex("test_index")
.build();
cluster.execute(propsOp);
propsOp.await();
if (!propsOp.isSuccess())
{
assertTrue(propsOp.cause().toString(), propsOp.isSuccess());
}
Thread.sleep(5000);
prepSearch(yokozunaBucketType, searchBucket);