pass value as byte[], not as String. This should cause that less
byte[] <-> String conversions are made during time-critical tasks.
This redesign is not yet complete, more to come ..
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6775 6c8d7289-2bf4-0310-a012-ef5d649a1542
log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT (url null) for hash "+entry.hash()+" from peer "+iam+"\n\tURL properties: "+propStr);
if(log.isWarning())log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT (url null) for hash "+newString(entry.hash())+" from peer "+iam+"\n\tURL properties: "+propStr);
prop.put("delay","3600");
returnprop;
}
@ -132,7 +132,7 @@ public final class crawlReceipt {
log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT ("+urlRejectReason+") for hash "+entry.hash()+" from peer "+iam+"\n\tURL properties: "+propStr);
if(log.isWarning())log.logWarning("crawlReceipt: RECEIVED wrong RECEIPT ("+urlRejectReason+") for hash "+newString(entry.hash())+" from peer "+iam+"\n\tURL properties: "+propStr);
prop.put("delay","9999");
returnprop;
}
@ -142,7 +142,7 @@ public final class crawlReceipt {
sb.crawlQueues.delegatedURL.remove(entry.hash());// the delegated work has been done
log.logInfo("crawlReceipt: RECEIVED RECEIPT from "+otherPeerName+" for URL "+entry.hash()+":"+metadata.url().toNormalform(false,true));
if(log.isInfo())log.logInfo("crawlReceipt: RECEIVED RECEIPT from "+otherPeerName+" for URL "+newString(entry.hash())+":"+metadata.url().toNormalform(false,true));
prop.putHTML("content_size",Integer.toString(result.filesize()));// we don't use putNUM here because that number shall be usable as sorting key. To print the size, use 'sizename'
yacyCore.log.logInfo("remote search (client): rejected url '"+metadata.url()+"' ("+urlRejectReason+") from peer "+target.getName());
if(yacyCore.log.isInfo())yacyCore.log.logInfo("remote search (client): rejected url '"+metadata.url()+"' ("+urlRejectReason+") from peer "+target.getName());
continue;// reject url outside of our domain
}
// save the url entry
Referenceentry;
if(urlEntry.word()==null){
yacyCore.log.logWarning("remote search (client): no word attached from peer "+target.getName()+", version "+target.getVersion());
if(yacyCore.log.isWarning())yacyCore.log.logWarning("remote search (client): no word attached from peer "+target.getName()+", version "+target.getVersion());
continue;// no word attached
}
// the search-result-url transports all the attributes of word indexes
yacyCore.log.logInfo("remote search (client): url-hash "+urlEntry.hash()+" does not belong to word-attached-hash "+entry.metadataHash()+"; url = "+metadata.url()+" from peer "+target.getName());
if(yacyCore.log.isInfo())yacyCore.log.logInfo("remote search (client): url-hash "+newString(urlEntry.hash())+" does not belong to word-attached-hash "+entry.metadataHash()+"; url = "+metadata.url()+" from peer "+target.getName());
continue;// spammed
}
@ -597,7 +597,7 @@ public final class yacyClient {
// because they are search-specific.
// instead, they are placed in a snipped-search cache.
// System.out.println("--- RECEIVED SNIPPET '" + link.snippet() + "'");