"/jcr:root/content//element(*, %s) order by @%s descending", NODE_TYPE,
ORDERED_PROPERTY);
Properties env = new Properties();
env.load(getClass().getResourceAsStream("/repositoryStubImpl.properties"));
RepositoryStub stub = RepositoryStub.getInstance(env);
Repository repo = stub.getRepository();
Session session = null;
Node root, content;
try {
session = repo.login(stub.getSuperuserCredentials());
createIndexDefinition(session);
root = session.getRootNode();
if (!root.hasNode(CONTENT)) {