String collectionConfig =
"<collection compressed=\"true\" name=\"" + COLLECTION_NAME + "\">"
+ " <filer class=\"org.apache.xindice.core.filer.BTreeFiler\"/>"
+ "</collection>";
service.createCollection(COLLECTION_NAME, DOMParser.toDocument(collectionConfig));
System.out.println("Collection " + COLLECTION_NAME + " created.");
} catch (XMLDBException e) {
System.err.println("XML:DB Exception occured " + e.errorCode + " " + e.getMessage());
} finally {