no commit if no action is requested

pull/1/head
Michael Peter Christen 11 years ago
parent 0bf3cab8c7
commit a9ed28c0b5

@ -52,7 +52,7 @@ public class IndexDeletion_p {
SolrConnector defaultConnector = sb.index.fulltext().getDefaultConnector();
SolrConnector webgraphConnector = sb.index.fulltext().getWebgraphConnector();
defaultConnector.commit(false); // we must do a commit here because the user cannot see a proper count.
if (post != null && post.size() > 0) defaultConnector.commit(false); // we must do a commit here because the user cannot see a proper count.
prop.put("doccount", defaultConnector.getSize());
// Delete by URL Matching

Loading…
Cancel
Save