Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

added line to enhance debugging

Michael Peter Christene879b97b0ad7
diff --git a/htroot/Crawler_p.java b/htroot/Crawler_p.java
index 1cd75ef15..ee4dc9cbf 100644
--- a/htroot/Crawler_p.java
+++ b/htroot/Crawler_p.java
@@ -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);