Skip to content

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

Added hint to clarify results rendered dates and 'Sort by date' switch

luccioman311e91ff7756
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html
index 362da8b0f..c323b72f2 100644
--- a/htroot/ConfigSearchPage_p.html
+++ b/htroot/ConfigSearchPage_p.html
@@ -257,7 +257,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=
<table style="border-width:0">
<tr>
<td style="width:15px;"></td>
- <td>#[content_showDate_date]#</td>
+ <td><span title="Last known modification date">#[content_showDate_date]#</span></td>
<td><span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span>42 kbyte</td>
<td><span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span><a id="metadataLink" href="solr/select?q=*:*&defType=edismax&start=0&rows=3&core=collection1&wt=html" target="LayouTest">Metadata</a></td>
<td><span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span><a id="parserLink" href="ViewFile.html" target="LayouTest">Parser</a></td>
diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.html
index e833915f4..72cd301d9 100644
--- a/htroot/yacysearchitem.html
+++ b/htroot/yacysearchitem.html
@@ -38,7 +38,7 @@
</p>
#(/showKeywords)#
<p class="urlinfo">
- #(showDate)#::#[date]##(/showDate)#
+ #(showDate)#::<span title="Last known modification date">#[date]#</span>#(/showDate)#
#(showEvent)#::on #[date]##(/showEvent)#
#(showSize)#::<span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span>#[sizename]##(/showSize)#
#(showMetadata)#::<span role="separator" aria-orientation="vertical">&nbsp;|&nbsp;</span><a href="solr/select?q=id:%22#[urlhash]#%22&defType=edismax&start=0&rows=1&core=collection1&wt=html" target="_blank">Metadata</a>#(/showMetadata)#
diff --git a/htroot/yacysearchtrailer.html b/htroot/yacysearchtrailer.html
index 2c191fc87..e49ebb9e5 100644
--- a/htroot/yacysearchtrailer.html
+++ b/htroot/yacysearchtrailer.html
@@ -45,8 +45,14 @@
<p class="navbutton"></p>
<div id="rankingButtons" class="btn-group btn-group-justified" data-nav-generation="#[nav-generation]#">
<!-- data-nav-generation attribute helps the browser know whether the search navigators have to be refreshed -->
- <div class="btn-group btn-group-xs"><button type="button" id="sort_button_context" class="btn btn-default" onclick="document.getElementById('search').value=document.getElementById('search').value.replace(' /date','');document.searchform.submit();">Context Ranking</button></div>
- <div class="btn-group btn-group-xs"><button type="button" id="sort_button_date" class="btn btn-default" onclick="document.getElementById('search').value=document.getElementById('search').value + ' /date';document.searchform.submit();">Sort by Date</button></div>
+ <div class="btn-group btn-group-xs">
+ <button type="button" id="sort_button_context" class="btn btn-default" title="Use the default ranking profile (customizable), ordering results by score."
+ onclick="document.getElementById('search').value=document.getElementById('search').value.replace(' /date','');document.searchform.submit();">Context Ranking</button>
+ </div>
+ <div class="btn-group btn-group-xs">
+ <button type="button" id="sort_button_date" class="btn btn-default" title="Use the 'Date' ranking profile, ordering results by default on each document last modification date."
+ onclick="document.getElementById('search').value=document.getElementById('search').value + ' /date';document.searchform.submit();">Sort by Date</button>
+ </div>
</div>
<script>
if (document.getElementById('search').value.indexOf(" /date") == -1) {