Skip to content

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

reduced number of facets in yacyinteractive (only filetype necessary)

Michael Peter Christene55ec3071d3b
diff --git a/htroot/js/yacyinteractive.js b/htroot/js/yacyinteractive.js
index 87c07b7ec..56a1df184 100644
--- a/htroot/js/yacyinteractive.js
+++ b/htroot/js/yacyinteractive.js
@@ -37,7 +37,7 @@ function search(search, count, offset) {
self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP");
}
//self.xmlHttpReq.open('GET', "yacysearch.json?verify=false&resource=local&nav=all&contentdom=all&maximumRecords=" + maximumRecords + "&startRecord=" + startRecord + "&query=" + query, true);
- self.xmlHttpReq.open('GET', "solr/select?hl=false&wt=yjson&facet=true&facet.mincount=1&facet.field=host_s&facet.field=url_file_ext_s&facet.field=url_protocol_s&facet.field=author_sxt&start=" + startRecord + "&rows=" + maximumRecords + "&startRecord=" + startRecord + "&query=" + query, true);
+ self.xmlHttpReq.open('GET', "/solr/select?hl=false&wt=yjson&facet=true&facet.mincount=1&facet.field=url_file_ext_s&start=" + startRecord + "&rows=" + maximumRecords + "&query=" + query, true);
self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
self.xmlHttpReq.onreadystatechange = function() {
if (self.xmlHttpReq.readyState == 4) {
diff --git a/htroot/yacyinteractive.html b/htroot/yacyinteractive.html
index a6d0668f2..3f59e53eb 100644
--- a/htroot/yacyinteractive.html
+++ b/htroot/yacyinteractive.html
@@ -37,7 +37,7 @@
<script type="text/javascript">
//<![CDATA[
//document.write("\<a id=\"rsslink\" href=\"yacysearch.rss?" + window.location.search.substring(1) + "\"\>")
-document.write("\<a id=\"rsslink\" href=\"solr/select?start=0&rows=100&wt=opensearch&facet=true&facet.mincount=1&facet.field=host_s&facet.field=url_file_ext_s&facet.field=url_protocol_s&facet.field=author_sxt&" + window.location.search.substring(1) + "\"\>")
+document.write("\<a id=\"rsslink\" href=\"/solr/select?hl=false&wt=opensearch&facet=true&facet.mincount=1&facet.field=url_file_ext_s&start=0&rows=10&query=" + window.location.search.substring(1) + "\"\>")
//]]>
</script>
<img src="env/grafics/api.png" width="60" height="40" alt="API" /></a>