putOp.get();
assertTrue("Index not created", assureIndexExists("test_index"));
YzFetchIndexOperation fetchOp =
new YzFetchIndexOperation.Builder().withIndexName("test_index")
.build();
cluster.execute(fetchOp);
fetchOp.await();
if (!fetchOp.isSuccess())
{
assertTrue(fetchOp.cause().toString(), fetchOp.isSuccess());
}
List<YokozunaIndex> indexList = fetchOp.get().getIndexes();
assertFalse(indexList.isEmpty());
index = indexList.get(0);
assertEquals(index.getSchema(), "_yz_default");