if (!message.containsKey(NAME)) {
throw new Exception(MISSING_NAME_PARAM);
}
Collection col = getCollection((String) message.get(COLLECTION));
col.dropIndexer(col.getIndexer((String) message.get(NAME)));
Map result = new HashMap(3);
result.put(RESULT, "yes");
return result;
}