@ -181,7 +181,12 @@ public abstract class SolrServerConnector extends AbstractSolrConnector implemen
try {
this.server.add(solrdoc, -1);
} catch (Throwable ee) {
throw new IOException(ee);
this.server.commit();
} catch (Throwable eee) {
throw new IOException(eee);
}