Skip to content

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

bugfix for fixed host/port

Michael Peter Christendcfc384eee98
diff --git a/htroot/ConfigSearchPage_p.html b/htroot/ConfigSearchPage_p.html
index 366f5b290..00d2c9734 100644
--- a/htroot/ConfigSearchPage_p.html
+++ b/htroot/ConfigSearchPage_p.html
@@ -186,7 +186,7 @@
<script src="/js/morris.js"></script>
<div id="graph" style="height:200px"></div>
<script>
-var solr= $.getJSON("http://localhost:8090/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=*:*&defType=edismax&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/HostBrowser.html b/htroot/HostBrowser.html
index 67bcb5be0..3be40602c 100644
--- a/htroot/HostBrowser.html
+++ b/htroot/HostBrowser.html
@@ -119,7 +119,7 @@ function updatepage(str) {
<script src="/js/morris.js"></script>
<div id="graph" style="height:200px"></div>
<script>
-var solr= $.getJSON("http://localhost:8090/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=*:*&defType=edismax&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) {