-Subproject commit b864825869c7e4c3061952b64afc99a7268be4f8
+Subproject commit f6a5ec8c243e2a6829a2917cb30c849612d6fd01
</varlistentry>
<varlistentry>
+ <term>pz:redis</term>
+ <listitem>
+ <para>
+ If set and non-empty,
+ <ulink url="&url.redis;">redis</ulink> will
+ configured and enabled for the target.
+ The value of this setting is exactly as the redis option for
+ ZOOM C of YAZ.
+ </para>
+ <para>
+ This setting is honored in Pazpar2 1.6.43 or later. Pazpar2 must
+ be using YAZ version 5.2.0 or later.
+ </para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
<term>pz:nativesyntax</term>
<listitem>
<para>
check_SCRIPTS = test_xsl.sh
dist-hook:
+ rm -f ${srcdir}/*.log.xml
cp ${srcdir}/*.xml $(distdir)
cp ${srcdir}/*.xsl $(distdir)
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<pz:record xmlns:pz="http://www.indexdata.com/pazpar2/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:siebel="http://loc.gov/siebel/elements/1.0/">
+ <pz:metadata type="medium"/>
+ <pz:metadata type="publication-date">2013 </pz:metadata>
+ <pz:metadata type="date">2013 </pz:metadata>
+ <pz:metadata type="electronic-url">http://agricola.nal.usda.gov/cgi-bin/Pwebrecon.cgi?v1=1&ti=1,1&SAB1=mankind&BOOL1=all%20of%20these&FLD1=Keyword%20Anywhere%20%28GKEY%29&GRP1=AND%20with%20next%20set&SAB2=&BOOL2=any%20of%20these&FLD2=Subject%20%28SKEY%29&GRP2=AND%20with%20next%20set&SAB3=&BOOL3=as%20a%20phrase&FLD3=Title%20%28TKEY%29&GRP3=AND%20with%20next%20set&SAB4=&BOOL4=as%20a%20phrase&FLD4=Author%20Name%20%28NKEY%29&CNT=25&PID=j4FOGuOTymu6tJsbPHH3Q3yGIH7DxM&SEQ=20140519072849&SID=1</pz:metadata>
+ <pz:metadata type="title">Biotechnological applications of microalgae : biodiesel and value added products</pz:metadata>
+ <pz:metadata type="title-complete">Biotechnological applications of microalgae : biodiesel and value added products</pz:metadata>
+ <pz:metadata type="author"/>
+ <pz:metadata type="due" empty="PAZPAR2_NULL_VALUE"/>
+ <pz:metadata type="locallocation" empty="PAZPAR2_NULL_VALUE">Stacks</pz:metadata>
+ <pz:metadata type="callnumber" empty="PAZPAR2_NULL_VALUE">TP248.27.A46 B56 2013</pz:metadata>
+ <pz:metadata type="available" empty="PAZPAR_NULL_VALUE">Available</pz:metadata>
+ <pz:metadata type="publicnote" empty="PAZPAR2_NULL_VALUE"/>
+</pz:record>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<record>
+ <date>2013 </date>
+ <url>http://agricola.nal.usda.gov/cgi-bin/Pwebrecon.cgi?v1=1&ti=1,1&SAB1=mankind&BOOL1=all%20of%20these&FLD1=Keyword%20Anywhere%20%28GKEY%29&GRP1=AND%20with%20next%20set&SAB2=&BOOL2=any%20of%20these&FLD2=Subject%20%28SKEY%29&GRP2=AND%20with%20next%20set&SAB3=&BOOL3=as%20a%20phrase&FLD3=Title%20%28TKEY%29&GRP3=AND%20with%20next%20set&SAB4=&BOOL4=as%20a%20phrase&FLD4=Author%20Name%20%28NKEY%29&CNT=25&PID=j4FOGuOTymu6tJsbPHH3Q3yGIH7DxM&SEQ=20140519072849&SID=1</url>
+ <title>Biotechnological applications of microalgae : biodiesel and value added products</title>
+ <author></author>
+ <item>
+ <location>Stacks</location>
+ <callno>TP248.27.A46 B56 2013</callno>
+ <available>Available</available>
+ </item>
+</record>
** AJAX HELPER CLASS ***********************************************************
********************************************************************************
*/
-var pzHttpRequest = function (url, errorHandler, cookieDomain) {
+var pzHttpRequest = function (url, errorHandler, cookieDomain, windowId) {
this.maxUrlLength = 2048;
this.request = null;
this.url = url;
this.isXDR = false;
this.domainRegex = /https?:\/\/([^:/]+).*/;
this.cookieDomain = cookieDomain || null;
+ this.windowId = windowId || window.name;
var xhr = new XMLHttpRequest();
var domain = this._getDomainFromUrl(url);
//session cookie, resend it
var domain = this._getDomainFromUrl(url);
if (domain && this._isCrossDomain(domain) &&
- this.getCookie(domain+":SESSID")) {
+ this.getCookie(domain+":"+this.windowId+":SESSID")) {
//rewrite the URL
- var sessparam = ';jsessionid=' + this.getCookie(domain+":SESSID");
+ var sessparam = ';jsessionid=' + this.getCookie(domain+":"+this.windowId+":SESSID");
var q = url.indexOf('?');
if (q == -1) {
url += sessparam;
var jsessionId = this.request.responseXML
.documentElement.getAttribute('jsessionId');
if (jsessionId)
- this.setCookie(domain+":SESSID", jsessionId);
+ this.setCookie(domain+":"+this.windowId+":SESSID", jsessionId);
}
this.callback(this.request.responseXML);
} else {
struct session_database *sdb = client_get_database(con->client);
const char *apdulog = session_setting_oneval(sdb, PZ_APDULOG);
const char *memcached = session_setting_oneval(sdb, PZ_MEMCACHED);
+ const char *redis = session_setting_oneval(sdb, PZ_REDIS);
assert(con);
ZOOM_options_set(zoptions, "charset", charset);
if (memcached && *memcached)
ZOOM_options_set(zoptions, "memcached", memcached);
+ if (redis && *redis)
+ ZOOM_options_set(zoptions, "redis", redis);
assert(host->ipport);
if (host->proxy)
"pz:authentication_mode",
"pz:native_score",
"pz:memcached",
+ "pz:redis",
0
};
#define PZ_AUTHENTICATION_MODE 35
#define PZ_NATIVE_SCORE 36
#define PZ_MEMCACHED 37
+#define PZ_REDIS 38
#define PZ_MAX_EOF 39
struct setting