--- /dev/null
+<pz:cluster xmlns:pz="http://www.indexdata.com/pazpar2/1.0">
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol1</metadata>
+</record>
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol2</metadata>
+</record>
+</pz:cluster>
--- /dev/null
+<pz:cluster xmlns:pz="http://www.indexdata.com/pazpar2/1.0">
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol3</metadata>
+</record>
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol2</metadata>
+</record>
+</pz:cluster>
--- /dev/null
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol1</metadata>
+</record>
--- /dev/null
+<pz:cluster xmlns:pz="http://www.indexdata.com/pazpar2/1.0">
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol1</metadata>
+</record>
+<record xmlns="http://www.indexdata.com/pazpar2/1.0">
+ <metadata type="author">Jack Collins</metadata>
+ <metadata type="medium">book</metadata>
+ <metadata type="date">1995</metadata>
+ <metadata type="title">How to program a computer vol4</metadata>
+</record>
+</pz:cluster>
# srcdir might be set by make
srcdir=${srcdir:-"."}
+YAZ_ZTEST_XML_FETCH=${srcdir}/
+export YAZ_ZTEST_XML_FETCH
+
# terminate pazpar2 if test takes more than this (in seconds)
WAIT=120
--- /dev/null
+#!/bin/sh
+
+TEST=`basename $0 .sh`
+# srcdir might be set by make
+srcdir=${srcdir:-"."}
+
+exec ${srcdir}/run_pazpar2.sh --ztest --icu $TEST
+
+# Local Variables:
+# mode:shell-script
+# sh-indentation: 2
+# sh-basic-offset: 4
+# End:
--- /dev/null
+http://localhost:9763/search.pz2?command=init
+http://localhost:9763/search.pz2?session=1&command=search&query=4
+1 http://localhost:9763/search.pz2?session=1&command=show&block=1
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<init><status>OK</status><session>1</session><protocol>1</protocol><keepAlive>50000</keepAlive>
+</init>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<show><status>OK</status>
+<activeclients>0</activeclients>
+<merged>1</merged>
+<total>23</total>
+<start>0</start>
+<num>1</num>
+<hit>
+ <md-author>Jack Collins</md-author>
+ <md-medium>book</md-medium>
+ <md-date>1995</md-date>
+ <md-title>How to program a computer vol3</md-title>
+ <location id="localhost:9999"
+ name="ztest" checksum="1482143625">
+ <md-author>Jack Collins</md-author>
+ <md-medium>book</md-medium>
+ <md-date>1995</md-date>
+ <md-title>How to program a computer vol3</md-title>
+ </location>
+ <location id="localhost:9999"
+ name="ztest" checksum="1482143625">
+ <md-author>Jack Collins</md-author>
+ <md-medium>book</md-medium>
+ <md-date>1995</md-date>
+ <md-title>How to program a computer vol2</md-title>
+ </location>
+ <location id="localhost:9999"
+ name="ztest" checksum="970776754">
+ <md-author>Jack Collins</md-author>
+ <md-medium>book</md-medium>
+ <md-date>1995</md-date>
+ <md-title>How to program a computer vol1</md-title>
+ </location>
+ <location id="localhost:9999"
+ name="ztest" checksum="459409883">
+ <md-author>Jack Collins</md-author>
+ <md-medium>book</md-medium>
+ <md-date>1995</md-date>
+ <md-title>How to program a computer vol4</md-title>
+ </location>
+ <count>4</count>
+ <relevance>89257</relevance>
+ <recid>content: author jack collins medium book title how to program a computer vol</recid>
+</hit>
+</show>
\ No newline at end of file