From 8f912d7baddd2e1c1e9b8b9e9601b4ed842bbe5f Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 24 Jun 2014 12:15:45 +0200 Subject: [PATCH] All "targets" settings now use pz:id= instead of pz:id~ (pattern matching) All "targets" settings now have (incorrect, but working) trailing slashes. Why is this? The Service-proxy has code that mangles ZURLs for the use of the CF (adding rich-database-name parameters), and its lax regular expression wrongly interprets the trailing ":3552" as a port number. So it "fixes" this ZURL by appending a slash, and then uses the fixed version of the URL as its unique ID. The result is that even though the ZURL in the Torus record is lui.indexdata.com:8080/solr4/select?fq=database:3552 the ID that it uses is lui.indexdata.com:8080/solr4/select?fq=database:3552/ And indeed if I change the MKWS code to use this ID instead of the correct one, it can be made to work. These should soon be replaced by much less fragile UDB-based target filtering. --- examples/htdocs/auto3.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/htdocs/auto3.html b/examples/htdocs/auto3.html index d1e9e6d..4fef994 100644 --- a/examples/htdocs/auto3.html +++ b/examples/htdocs/auto3.html @@ -38,7 +38,7 @@
PLOS ONE articles will appear here
@@ -46,7 +46,7 @@
Free e-books will appear here
@@ -54,7 +54,7 @@
Library catalog entries will appear here
-- 1.7.10.4