DOMFile domDb = ((NativeBroker) broker).getDOMFile();
domDb.setOwnerObject(this);
IndexQuery query = new IndexQuery(IndexQuery.GEQ, new NativeBroker.NodeRef(500, idFact.createInstance(1)));
domDb.query(query, new IndexCallback());
System.out.println("Found: " + count);
assertEquals(count, 800);
Writer writer = new StringWriter();
domDb.dump(writer);