From e55ec3071d3b20dd86aacf47f7ed5faf46a600dd Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Tue, 12 Feb 2013 12:00:54 +0100 Subject: [PATCH] reduced number of facets in yacyinteractive (only filetype necessary) --- htroot/js/yacyinteractive.js | 2 +- htroot/yacyinteractive.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 @@ API