ImmutableList.of(JCR_PRIMARYTYPE, JCR_MIXINTYPES), null);
// the cost of using the property index for "@primaryType is not null" is very high
nt.setProperty(IndexConstants.ENTRY_COUNT_PROPERTY_NAME, Long.valueOf(Long.MAX_VALUE));
}
NodeStore store = new MemoryNodeStore();
NodeStoreBranch branch = store.branch();
branch.setRoot(root.getNodeState());
try {
branch.merge(EmptyHook.INSTANCE, PostCommitHook.EMPTY);
} catch (CommitFailedException e) {
throw new RuntimeException(e);