Add test for trailing chars PAZ-915
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 7 Jan 2014 12:46:39 +0000 (13:46 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 7 Jan 2014 12:46:39 +0000 (13:46 +0100)
test/test_cluster.cfg
test/test_cluster.pz.1.xml
test/test_cluster.pz.3.xml
test/test_cluster_3.res
test/test_cluster_5.res
test/test_cluster_7.res
test/test_cluster_9.res

index 6b99b2f..e36a149 100644 (file)
@@ -39,6 +39,7 @@
       <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
                termlist="yes"/>
       <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+      <metadata name="url" brief="yes" />
     </service>
   </server>
 </pazpar2>
index a59aaa0..f3a2212 100644 (file)
@@ -4,6 +4,7 @@
  <metadata type="medium">book</metadata>
  <metadata type="date">1995</metadata>
  <metadata type="title">How to program a computer vol1</metadata>
+ <metadata type="url">http://www.indexdata.com/pazpar2/</metadata>
 </record>
 <record xmlns="http://www.indexdata.com/pazpar2/1.0">
  <metadata type="author">Jack Collins</metadata>
index ffdf34e..20e238f 100644 (file)
@@ -3,4 +3,5 @@
  <metadata type="medium">book</metadata>
  <metadata type="date">1995</metadata>
  <metadata type="title">How to program a computer vol1</metadata>
+ <metadata type="url">http://www.indexdata.com/pazpar2/</metadata>
 </record>
index 2f88c6a..fc17176 100644 (file)
@@ -16,6 +16,7 @@
   <md-medium>book</md-medium>
   <md-date>1995</md-date>
   <md-title>How to program a computer vol1</md-title>
+  <md-url>http://www.indexdata.com/pazpar2/</md-url>
  </location>
  <location id="localhost:9999"
     name="ztest" checksum="1993510496">
index 6da9672..8acb6a7 100644 (file)
@@ -16,6 +16,7 @@
   <md-medium>book</md-medium>
   <md-date>1995</md-date>
   <md-title>How to program a computer vol1</md-title>
+  <md-url>http://www.indexdata.com/pazpar2/</md-url>
  </location>
  <location id="localhost:9999"
     name="ztest" checksum="1993510496">
index d616b21..ae04e2a 100644 (file)
@@ -16,6 +16,7 @@
   <md-medium>book</md-medium>
   <md-date>1995</md-date>
   <md-title>How to program a computer vol1</md-title>
+  <md-url>http://www.indexdata.com/pazpar2/</md-url>
  </location>
  <location id="localhost:9999"
     name="ztest" checksum="1993510496">
index d47758f..fd01649 100644 (file)
@@ -16,6 +16,7 @@
   <md-medium>book</md-medium>
   <md-date>1995</md-date>
   <md-title>How to program a computer vol1</md-title>
+  <md-url>http://www.indexdata.com/pazpar2/</md-url>
  </location>
  <location id="localhost:9999"
     name="ztest" checksum="1993510496">
@@ -29,7 +30,7 @@
   <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>
+  <md-title>How to program a computer vol1</md-title>
  </location>
  <location id="localhost:9999"
     name="ztest" checksum="1482143625">