}
changeState(monitor, session, State.READY);
-
-// closeInternal();
-
+
return result;
}
try {
if(writer != null)
writer.commit();
- } catch (CorruptIndexException e) {
- e.printStackTrace();
} catch (IOException e) {
- e.printStackTrace();
+ getLogger().error("Index commit failed", e);
}
}