Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
remove blekko from opensearch config (not available) see https://blekko.com/ http://searchengineland.com/goodbye-blekko-search-engine-joins-ibms-watson-team-217633
regere8256bb3b1de
diff --git a/defaults/heuristicopensearch.conf b/defaults/heuristicopensearch.confindex 6a3b494b9..9a31dccd7 100644--- a/defaults/heuristicopensearch.conf+++ b/defaults/heuristicopensearch.conf@@ -12,7 +12,6 @@## - all lines beginning with '#' and where the second character is not '#' are commented-out keyword lines##-#Blekko = http://blekko.com/ws/{searchTerms} /rss # get 20 results from blekko#Faroo-News = http://www.faroo.com/api?q={searchTerms}&start={startIndex}&length=20&l=en&src=news&f=rss # get results from Faroo news-search#WordPress.com = http://en.search.wordpress.com/?q={searchTerms}&f=feed&page={startPage?} #Search WordPress.com Blogs#Sueddeutsche.de = http://suche.sueddeutsche.de/query/{searchTerms}?output=rss # Sueddeutsche Zeitung Artikel Archivdiff --git a/htroot/yacysearch.java b/htroot/yacysearch.javaindex caf980487..855b9ffbd 100644--- a/htroot/yacysearch.java+++ b/htroot/yacysearch.java@@ -476,8 +476,8 @@ public class yacysearch {}}- final int heuristicBlekko = querystring.indexOf("/heuristic", 0);- if ( heuristicBlekko >= 0 ) {+ final int heuristicOS = querystring.indexOf("/heuristic", 0);+ if ( heuristicOS >= 0 ) {querystring = querystring.replace("/heuristic", "");modifier.add("/heuristic");}@@ -721,14 +721,11 @@ public class yacysearch {SwitchboardConstants.REMOTESEARCH_MAXTIME_USER,sb.getConfigLong(SwitchboardConstants.REMOTESEARCH_MAXTIME_DEFAULT, 3000)));- if ( startRecord == 0 ) {- if ( modifier.sitehost != null && sb.getConfigBool(SwitchboardConstants.HEURISTIC_SITE, false) && authenticated && !stealthmode) {+ if ( startRecord == 0 && authenticated && !stealthmode ) {+ if ( modifier.sitehost != null && sb.getConfigBool(SwitchboardConstants.HEURISTIC_SITE, false) ) {sb.heuristicSite(theSearch, modifier.sitehost);}- if ( heuristicBlekko >= 0 && authenticated && !stealthmode ) {- FederateSearchManager.getManager().search(theSearch);- }- if (sb.getConfigBool(SwitchboardConstants.HEURISTIC_OPENSEARCH, false) && authenticated && !stealthmode) {+ if ( heuristicOS >= 0 || sb.getConfigBool(SwitchboardConstants.HEURISTIC_OPENSEARCH, false) ) {FederateSearchManager.getManager().search(theSearch);}}diff --git a/locales/de.lng b/locales/de.lngindex 608eaa98f..8906645c5 100644--- a/locales/de.lng+++ b/locales/de.lng@@ -1603,7 +1603,7 @@ doublequotes==Anführungszeichenprefer given language==Angegebene Sprache bevorzugenan ISO639 2-letter code==2-Buchstaben-Ländercode nach ISO639heuristics==Heuristiken-add search results from blekko==Benutze zusätzliche Ergebnisse von Blekko+add search results from external opensearch systems==Benutze zusätzliche Ergebnisse von externen OpensearchsystemenSearch Navigation==Such-Navigationkeyboard shotcuts==Tastatur-Kürzeltab or page-up==Tab oder Bild hoch