if (exists) {
String node = mk.getNodes(indexRootNode, revision, 1, 0, Integer.MAX_VALUE, null);
JsopTokenizer t = new JsopTokenizer(node);
NodeMap map = new NodeMap();
t.read('{');
NodeImpl n = NodeImpl.parse(map, t, 0);
String rev = n.getNode(INDEX_CONTENT).getProperty("rev");
if (rev != null) {
readRevision = JsopTokenizer.decodeQuoted(rev);
}
for (int i = 0; i < n.getChildNodeCount(); i++) {
String k = n.getChildNodeName(i);
PropertyIndex prop = PropertyIndex.fromNodeName(this, k);
if (prop != null) {
indexes.put(prop.getIndexNodeName(), prop);
propertyIndexes.put(prop.getPropertyName(), prop);
}