ImmutableList.<String>of(JCR_UUID), null);
IndexUtils.createIndexDefinition(index, "nodetype", true, false,
ImmutableList.of(JCR_PRIMARYTYPE, JCR_MIXINTYPES), null);
}
NodeStore store = new MemoryNodeStore();
NodeStoreBranch branch = store.branch();
branch.setRoot(root.getNodeState());
try {
branch.merge(EmptyHook.INSTANCE);
} catch (CommitFailedException e) {
throw new RuntimeException(e);