<?xml version="1.0" encoding="UTF-8"?>
<pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
-<!-- $Id: test_http.cfg,v 1.2 2007-07-16 09:39:56 adam Exp $ -->
-<!-- Used by test_http.sh -->
-<server>
- <listen port="9763"/>
- <proxy host="localhost"/>
- <settings src="../etc/settings"/>
+ <!-- Used by test_http.sh -->
+ <server>
+ <listen port="9763"/>
+ <proxy host="localhost"/>
+
+ <service>
+ <ccldirective name="and" value="AND"/>
+ <ccldirective name="or" value="OR"/>
+ <ccldirective name="not" value="NOT"/>
+ <rank cluster="yes" debug="yes"/>
- <service>
- <metadata name="url" merge="unique"/>
- <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6"/>
- <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
- <metadata name="isbn"/>
- <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
- termlist="yes"/>
- <metadata name="author" brief="yes" termlist="yes" merge="longest" rank="2"/>
- <metadata name="subject" merge="unique" termlist="yes" rank="3"/>
- <metadata name="id"/>
- <metadata name="lccn" merge="unique"/>
- <metadata name="description" brief="yes" merge="longest" rank="3"/>
- </service>
-</server>
+ <include src="z3950_indexdata_com_marc.xml"/>
-<targetprofiles type="local" src="../zeerex/records/"/>
+ <metadata name="url" merge="unique"/>
+ <metadata name="title" brief="yes" sortkey="skiparticle" merge="longest" rank="6" mergekey="required" />
+ <metadata name="title-remainder" brief="yes" merge="longest" rank="5"/>
+ <metadata name="isbn"/>
+ <metadata name="date" brief="yes" sortkey="numeric" type="year" merge="range"
+ termlist="yes"/>
+ <metadata name="author" brief="yes" termlist="yes" merge="longest"
+ rank="2 au 3" mergekey="optional" /> <!-- rank="2 au 3" -->
+ <metadata name="subject" brief="yes" merge="unique" termlist="yes" rank="3" limitcluster="subject"/>
+ <metadata name="id"/>
+ <metadata name="lccn" merge="unique"/>
+ <metadata name="description" brief="yes" merge="longest" rank="3"/>
+
+ <metadata name="test-usersetting" brief="yes" setting="postproc"/>
+ <metadata name="test" setting="parameter"/>
+ <metadata name="test-usersetting-2" brief="yes"/>
+ </service>
+
+ <include src="*_service.xml"/>
+ <include src="no_such_service.xml"/>
+
+ </server>
+
+
</pazpar2>
+<!-- Keep this comment at the end of the file
+ Local variables:
+ mode: nxml
+ End:
+-->