implemented a hint from dulcedo "use site: - operator as crawl start point".
YaCy already was able to search using a site-constraint. This function is now extended with a instant crawling feature.
When you now use the site-operator, then the landing page of the site iand every page that is linked from this page are loaded, indexed and selected for the search result within that search request. When the remote server responds quickly enough, then this process can result in search results during the normal search result preparation .. just in some seconds.
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6941 6c8d7289-2bf4-0310-a012-ef5d649a1542
if(this.log.isInfo())log.logInfo("Not Indexed Resource '"+queueEntry.url().toNormalform(false,true)+"': denied by profile rule, process case="+processCase);
if(this.log.isInfo())log.logInfo("Not Indexed Resource '"+queueEntry.url().toNormalform(false,true)+"': denied by profile rule, process case="+processCase+", profile name = "+queueEntry.profile().name());
addURLtoErrorDB(queueEntry.url(),(referrerURL==null)?null:referrerURL.hash(),queueEntry.initiator(),dc_title,"denied by profile rule");
return;
}
@ -1852,7 +1853,8 @@ public final class Switchboard extends serverSwitch {
newDate(),
queueEntry.size(),
document,
condenser);
condenser,
searchEvent);
RSSFeed.channels(Base64Order.enhancedCoder.equal(queueEntry.initiator(),peers.mySeed().hash.getBytes())?RSSFeed.LOCALINDEXING:RSSFeed.REMOTEINDEXING).addMessage(newRSSMessage("Indexed web page",dc_title,queueEntry.url().toNormalform(true,false)));
}catch(finalIOExceptione){
if(this.log.isFine())log.logFine("Not Indexed Resource '"+queueEntry.url().toNormalform(false,true)+"': process case="+processCase);
@ -1892,6 +1894,66 @@ public final class Switchboard extends serverSwitch {