public void dropCollection(String path, String name) throws Exception {
Collection col = DatabaseManager.getCollection(driver + "/" + path);
if (col != null) {
CollectionManager service = (CollectionManager) col.getService("CollectionManager", "1.0");
service.dropCollection(name);
}
}
public void createIndexer(String path, String indexDoc) throws Exception {
createIndexer(path, DOMParser.toDocument(indexDoc));