mirror of https://github.com/apache/lucene.git
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@727357 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb849f8f07
commit
e113e465be
|
@ -172,8 +172,10 @@ public class DocBuilder {
|
|||
|
||||
void rollback() {
|
||||
writer.rollback();
|
||||
writer.commit(false);
|
||||
statusMessages.put("", "Indexing failed. Rolled back all changes.");
|
||||
addStatusMessage("Rolledback");
|
||||
requestParameters.optimize = false;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
|
Loading…
Reference in New Issue