Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

relax verify attribute for search widget to make it faster: set to "cacheonly"

Michael Peter Christen0d32a766ed11
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 @@
</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" />
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 @@
&lt;div id="yacylivesearch"&gt;
&lt;form id="ysearch" method="get" accept-charset="UTF-8" action="http://#[address]#/yacysearch.html"&gt;
&lt;input name="search" id="yquery" type="text" size="16" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value=""/&gt;
- &lt;input type="hidden" name="verify" value="true" /&gt;
+ &lt;input type="hidden" name="verify" value="cacheonly" /&gt;
&lt;input type="hidden" name="maximumRecords" value="10" /&gt;
&lt;input type="hidden" name="resource" value="local" /&gt;
&lt;input type="hidden" name="urlmaskfilter" value=".*" /&gt;
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 @@
<div id="yacylivesearch">
<form id="ysearch" method="get" accept-charset="UTF-8" action="yacysearch.html"><p>
<input name="query" id="yquery" class="fancy" type="text" size="20" maxlength="80" value=""/>
- <input type="hidden" name="verify" value="iffresh" />
+ <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/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 @@
<div id="yacylivesearch">
<form id="ysearch" method="get" accept-charset="UTF-8" action="yacysearch.html"><p>
<input name="query" id="yquery" class="fancy" type="text" size="20" maxlength="80" value=""/>
- <input type="hidden" name="verify" value="iffresh" />
+ <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=".*" />