From 0d32a766ed1123711aee1d19dd43e0151cf0f944 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Sun, 20 May 2012 00:50:54 +0200 Subject: [PATCH] relax verify attribute for search widget to make it faster: set to "cacheonly" --- defaults/yacy.init | 2 +- htroot/ConfigLiveSearch.html | 2 +- htroot/ConfigSearchBox.html | 4 ++-- htroot/Load_PHPBB3.html | 2 +- htroot/env/templates/portalinput.template | 2 +- htroot/portalsearch/yacy-portalsearch.html | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/defaults/yacy.init b/defaults/yacy.init index ec8895981..3859653e1 100644 --- a/defaults/yacy.init +++ b/defaults/yacy.init @@ -765,7 +765,7 @@ search.navigation=hosts,authors,namespace,topics,filetype,protocol # consider content nevertheless as available and show result without snippet # false: no link verification and not snippet generation: all search results are valid without verification -search.verify = iffresh +search.verify = ifexist search.excludehosts= search.excludehosth= diff --git a/htroot/ConfigLiveSearch.html b/htroot/ConfigLiveSearch.html index 2deba76b7..7beb093d9 100644 --- a/htroot/ConfigLiveSearch.html +++ b/htroot/ConfigLiveSearch.html @@ -75,7 +75,7 @@ Installing: <div id="yacylivesearch"> <form id="ysearch" method="get" accept-charset="UTF-8" action="http://#[ip]#:#[port]#/yacysearch.html"> Live Search <input name="query" id="yquery" class="fancy" type="text" size="15" maxlength="80" value=""/> - <input type="hidden" name="verify" value="iffresh" /> + <input type="hidden" name="verify" value="cacheonly" /> <input type="hidden" name="maximumRecords" value="20" /> <input type="hidden" name="resource" value="local" /> <input type="hidden" name="urlmaskfilter" value=".*" /> diff --git a/htroot/ConfigSearchBox.html b/htroot/ConfigSearchBox.html index f3f7f0892..4ecb4ea5f 100644 --- a/htroot/ConfigSearchBox.html +++ b/htroot/ConfigSearchBox.html @@ -24,7 +24,7 @@ </div> <input type="text" name="query" value="" maxlength="80" style="width:300px; font-size:16px; float:left;" /> - <input type="hidden" name="verify" value="true" /> + <input type="hidden" name="verify" value="cacheonly" /> <input type="hidden" name="maximumRecords" value="10" /> <input type="hidden" name="meanCount" value="5" /> <input type="hidden" name="resource" value="local" /> @@ -48,7 +48,7 @@ - + diff --git a/htroot/Load_PHPBB3.html b/htroot/Load_PHPBB3.html index 9af95a1cb..297f61e6f 100644 --- a/htroot/Load_PHPBB3.html +++ b/htroot/Load_PHPBB3.html @@ -92,7 +92,7 @@ <div id="yacylivesearch"> <form id="ysearch" method="get" accept-charset="UTF-8" action="http://#[address]#/yacysearch.html"> <input name="search" id="yquery" type="text" size="16" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value=""/> - <input type="hidden" name="verify" value="true" /> + <input type="hidden" name="verify" value="cacheonly" /> <input type="hidden" name="maximumRecords" value="10" /> <input type="hidden" name="resource" value="local" /> <input type="hidden" name="urlmaskfilter" value=".*" /> diff --git a/htroot/env/templates/portalinput.template b/htroot/env/templates/portalinput.template index 08d675962..bb02005ce 100644 --- a/htroot/env/templates/portalinput.template +++ b/htroot/env/templates/portalinput.template @@ -3,7 +3,7 @@

- + diff --git a/htroot/portalsearch/yacy-portalsearch.html b/htroot/portalsearch/yacy-portalsearch.html index bc7862f96..0b7f28cc3 100644 --- a/htroot/portalsearch/yacy-portalsearch.html +++ b/htroot/portalsearch/yacy-portalsearch.html @@ -40,7 +40,7 @@

- +