added line to enhance debugging

pull/1/head
Michael Peter Christen 12 years ago
parent 2857499467
commit e879b97b0a

@ -391,7 +391,8 @@ public class Crawler_p {
sb.crawlQueues.errorURL.removeHost(hosthashes, true);
for (byte[] hosthash: hosthashes) {
try {
sb.index.fulltext().getDefaultConnector().deleteByQuery(CollectionSchema.host_id_s.getSolrFieldName() + ":\"" + ASCII.String(hosthash) + "\" AND " + CollectionSchema.failreason_s.getSolrFieldName() + ":[* TO *]");
String deletequery = CollectionSchema.host_id_s.getSolrFieldName() + ":\"" + ASCII.String(hosthash) + "\" AND " + CollectionSchema.failreason_s.getSolrFieldName() + ":[* TO *]";
sb.index.fulltext().getDefaultConnector().deleteByQuery(deletequery);
} catch (final IOException e) {ConcurrentLog.logException(e);}
}
sb.index.fulltext().commit(true);

Loading…
Cancel
Save