Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
added delete-button for host navigation
Michael Peter Christenf91487fc5015
diff --git a/source/net/yacy/search/query/RWIProcess.java b/source/net/yacy/search/query/RWIProcess.javaindex d72013d63..9d5963f9a 100644--- a/source/net/yacy/search/query/RWIProcess.java+++ b/source/net/yacy/search/query/RWIProcess.java@@ -325,17 +325,17 @@ public final class RWIProcess extends Threadif (this.query.siteexcludes != null && this.query.siteexcludes.contains(hosthash)) {continue pollloop;}- // no site constraint there; maybe collect host navigation information- if ( nav_hosts && this.query.urlMask_isCatchall ) {- this.hostNavigator.inc(hosthash);- this.hostResolver.put(hosthash, iEntry.urlhash());- }} else {if ( !hosthash.equals(this.query.sitehash) ) {// filter out all domains that do not match with the site constraintcontinue pollloop;}}+ // collect host navigation information (even if we have only one; this is to provide a switch-off button)+ if ( nav_hosts || this.query.urlMask_isCatchall ) {+ this.hostNavigator.inc(hosthash);+ this.hostResolver.put(hosthash, iEntry.urlhash());+ }// check protocolif ( !this.query.urlMask_isCatchall ) {