Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fixes showing metadata from Searchresult, by removing defType=edismax also removes defType=edismax from IndexBrowser, but still does not show dates
sgaebel7fecd859e5f7
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.htmlindex 00e8fef59..7f353ae51 100644--- a/htroot/ConfigSearchPage_p.html+++ b/htroot/ConfigSearchPage_p.html@@ -217,7 +217,7 @@<script type="text/javascript" src="js/accessibleHistogram.js" charset="UTF-8"></script><div id="graph" style="height:200px"></div><script>-var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index&facet.limit=#[search.navigation.dates.maxcount]#", function(data) {+var solr= $.getJSON("solr/collection1/select?q=*:*&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index&facet.limit=#[search.navigation.dates.maxcount]#", function(data) {dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts;var parsed = [];for (var i = 0; i < dates_in_content_dts.length; i = i + 2) {@@ -288,7 +288,7 @@ var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=<td style="width:15px;"></td><td><span title="Last known modification date">#[content_showDate_date]#</span></td><td><span role="separator" aria-orientation="vertical"> | </span>42 kbyte</td>- <td><span role="separator" aria-orientation="vertical"> | </span><a id="metadataLink" href="solr/select?q=*:*&defType=edismax&start=0&rows=1&core=collection1&wt=html&omitHeader=true" target="LayouTest">Metadata</a></td>+ <td><span role="separator" aria-orientation="vertical"> | </span><a id="metadataLink" href="solr/select?q=*:*&start=0&rows=1&core=collection1&wt=html&omitHeader=true" target="LayouTest">Metadata</a></td><td><span role="separator" aria-orientation="vertical"> | </span><a id="parserLink" href="ViewFile.html" target="LayouTest">Parser</a></td><td><span role="separator" aria-orientation="vertical"> | </span><a id="citationLink" href="api/citation.html?url=yacy.net" target="LayouTest">Citation</a></td><td><span role="separator" aria-orientation="vertical"> | </span><a id="picturesLink" href="yacysearch.html" target="LayouTest">Pictures</a></td>diff --git a/htroot/IndexBrowser_p.html b/htroot/IndexBrowser_p.htmlindex 237fb5310..c80319604 100644--- a/htroot/IndexBrowser_p.html+++ b/htroot/IndexBrowser_p.html@@ -109,7 +109,7 @@ function updatepage(str) {<script type="text/javascript" src="js/accessibleHistogram.js" charset="UTF-8"></script><div id="graph" style="height:200px"></div><script>-var solr= $.getJSON("solr/collection1/select?q=*:*&defType=edismax&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) {+var solr= $.getJSON("solr/collection1/select?q=*:*&start=0&rows=0&wt=json&facet=true&facet.field=dates_in_content_dts&facet.sort=index", function(data) {dates_in_content_dts = data.facet_counts.facet_fields.dates_in_content_dts;var parsed = [];for (var i = 0; i < dates_in_content_dts.length; i = i + 2) {diff --git a/htroot/yacysearchitem.html b/htroot/yacysearchitem.htmlindex 25f067aa5..5ea505ec2 100644--- a/htroot/yacysearchitem.html+++ b/htroot/yacysearchitem.html@@ -41,7 +41,7 @@#(showDate)#::<span title="Last known modification date">#[date]#</span>#(/showDate)##(showEvent)#::on #[date]##(/showEvent)##(showSize)#::<span role="separator" aria-orientation="vertical"> | </span>#[sizename]##(/showSize)#- #(showMetadata)#::<span role="separator" aria-orientation="vertical"> | </span><a href="solr/select?q=id:%22#[urlhash]#%22&defType=edismax&start=0&rows=1&core=collection1&wt=html&omitHeader=true" target="_blank">Metadata</a>#(/showMetadata)#+ #(showMetadata)#::<span role="separator" aria-orientation="vertical"> | </span><a href="solr/select?q=id:%22#[urlhash]#%22&start=0&rows=1&core=collection1&wt=html&omitHeader=true" target="_blank">Metadata</a>#(/showMetadata)##(showParser)#::<span role="separator" aria-orientation="vertical"> | </span><a href="ViewFile.html?urlHash=#[urlhash]#&words=#[words]#" target="_blank">Parser</a>#(/showParser)##(showCitation)#::<span role="separator" aria-orientation="vertical"> | </span><a href="api/citation.html?hash=#[urlhash]#&filter=true" target="_blank">Citations</a>#(/showCitation)##(showPictures)#::<span role="separator" aria-orientation="vertical"> | </span><a href="yacysearch.html?contentdom=image#(authSearch)#::&auth#(/authSearch)#&url=#[link]#&query=#[former]#+inurl:#[link]#" target="_blank">Pictures</a>#(/showPictures)#