/** * Drops an existing index * * <p>{@sample.xml ../../../doc/mongo-connector.xml.sample mongo:drop-index} * * @param collection the name of the collection where the index is * @param index the name of the index to drop */ @Processor public void dropIndex(String collection, String index) { client.dropIndex(collection, index); }