From: Mike Taylor Date: Tue, 24 Jun 2014 10:15:45 +0000 (+0200) Subject: All "targets" settings now use pz:id= instead of pz:id~ (pattern matching) X-Git-Tag: 1.0.0~479^2~1 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8f912d7baddd2e1c1e9b8b9e9601b4ed842bbe5f;p=mkws-moved-to-github.git 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. --- 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