From 8ae08a2cac968faf66b98359ea3f36fd3753b1cd Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 3 Jan 2013 01:27:16 +0100 Subject: [PATCH] moved HTCache, Heuristics and Parser servlet to a more appropriate menu location --- htroot/ConfigHTCache_p.html | 2 +- htroot/ConfigHeuristics_p.html | 2 +- htroot/ConfigParser.html | 2 +- htroot/ViewFile.html | 2 +- htroot/env/templates/header.template | 3 ++- htroot/env/templates/submenuConfig.template | 3 --- htroot/env/templates/submenuIndexControl.template | 3 ++- htroot/env/templates/submenuSearchConfiguration.template | 1 + 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/htroot/ConfigHTCache_p.html b/htroot/ConfigHTCache_p.html index b5bb2e8b9..ae8c851ce 100644 --- a/htroot/ConfigHTCache_p.html +++ b/htroot/ConfigHTCache_p.html @@ -6,7 +6,7 @@ #%env/templates/header.template%# - #%env/templates/submenuConfig.template%# + #%env/templates/submenuIndexControl.template%#

Hypertext Cache Configuration

The HTCache stores content retrieved by the HTTP and FTP protocol. Documents from smb:// and file:// locations are not cached. diff --git a/htroot/ConfigHeuristics_p.html b/htroot/ConfigHeuristics_p.html index 191bdc0e7..aef766b42 100644 --- a/htroot/ConfigHeuristics_p.html +++ b/htroot/ConfigHeuristics_p.html @@ -6,7 +6,7 @@ #%env/templates/header.template%# - #%env/templates/submenuConfig.template%# + #%env/templates/submenuSearchConfiguration.template%#

Heuristics Configuration

A heuristic is an 'experience-based technique that help in problem solving, learning and discovery' (wikipedia). The search heuristics that can be switched on here are techniques that help the discovery of possible search results based on link guessing, in-search crawling and requests to other search engines. diff --git a/htroot/ConfigParser.html b/htroot/ConfigParser.html index 5b90b6a65..ffb0dc50c 100644 --- a/htroot/ConfigParser.html +++ b/htroot/ConfigParser.html @@ -16,7 +16,7 @@ #%env/templates/header.template%# - #%env/templates/submenuConfig.template%# + #%env/templates/submenuIndexControl.template%#

Parser Configuration

Content Parser Settings diff --git a/htroot/ViewFile.html b/htroot/ViewFile.html index 19071955a..d7c36e5f9 100644 --- a/htroot/ViewFile.html +++ b/htroot/ViewFile.html @@ -17,7 +17,7 @@ function search(query) { else if (window.ActiveXObject) { // IE self.xmlHttpReq = new ActiveXObject("Microsoft.XMLHTTP"); } - self.xmlHttpReq.open('GET', "/solr/select?q=sku:\"" + query + "\" OR host_s:\"" + query + "\" OR host_dnc_s:\"" + query + "\" OR host_organization_s:\"" + query + "\" OR host_organizationdnc_s:\"" + query + "\" OR host_subdomain_s:\"" + query + "\"&start=0&rows=100&wt=json", true); + self.xmlHttpReq.open('GET', "/solr/select?q=sku:\"" + query + "\" OR host_s:\"" + query + "\" OR host_dnc_s:\"" + query + "\" OR host_organization_s:\"" + query + "\" OR host_organizationdnc_s:\"" + query + "\" OR host_subdomain_s:\"" + query + "\"&start=0&rows=100&wt=yjson", true); self.xmlHttpReq.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); self.xmlHttpReq.onreadystatechange = function() { if (self.xmlHttpReq.readyState == 4) { diff --git a/htroot/env/templates/header.template b/htroot/env/templates/header.template index 11987a0a6..d660c3fe6 100644 --- a/htroot/env/templates/header.template +++ b/htroot/env/templates/header.template @@ -15,12 +15,13 @@
  • Embedded GSA API
  • Compare Search
  • +
  • URL Viewer
  • Basic Configuration
  • Accounts
  • Network Configuration
  • -
  • Heuristics
  • Download System Update
  • @@ -13,9 +12,7 @@ diff --git a/htroot/env/templates/submenuIndexControl.template b/htroot/env/templates/submenuIndexControl.template index 2e72dc8b6..abb791a44 100644 --- a/htroot/env/templates/submenuIndexControl.template +++ b/htroot/env/templates/submenuIndexControl.template @@ -5,6 +5,7 @@
  • Federated Solr Index
  • #(p2p)#::
  • Reverse Word Index Administration
  • #(/p2p)# -
  • URL Viewer
  • +
  • Web Cache
  • +
  • Parser Configuration
  • diff --git a/htroot/env/templates/submenuSearchConfiguration.template b/htroot/env/templates/submenuSearchConfiguration.template index e278d3ff3..752fb00ac 100644 --- a/htroot/env/templates/submenuSearchConfiguration.template +++ b/htroot/env/templates/submenuSearchConfiguration.template @@ -5,6 +5,7 @@
  • Appearance
  • Language
  • User Profile
  • +
  • Heuristics
  • Solr Ranking Config
  • RWI Ranking Config