Fix database name (IR-Explain---1, not Default)
[irspy-moved-to-github.git] / zebra / zeerex.xml
index d4bf434..e117a9b 100644 (file)
@@ -1,11 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: zeerex.xml,v 1.3 2006-06-01 10:07:38 mike Exp $ -->
+<!-- $Id: zeerex.xml,v 1.14 2006-10-27 00:44:36 mike Exp $ -->
 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
 
  <serverInfo protocol="SRW/SRU/Z39.50" version="1.1" method="GET/POST">
   <host>localhost</host>
-  <port>1313</port>
-  <database>Default</database>
+  <port>3313</port>
+  <database>IR-Explain---1</database>
  </serverInfo>
 
  <databaseInfo>
    <map><name set="cql">anywhere</name></map>
    <map><attr type="1" set="bib1">cql:all</attr></map>
   </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Record identifier</title>
+   <map><name set="rec">id</name></map>
+   <map><attr type="1" set="bib1">rec:id</attr>
+        <attr type="4" set="bib1">3</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Protocol</title>
+   <map><name set="net">protocol</name></map>
+   <map><attr type="1" set="bib1">net:protocol</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Protocol version</title>
+   <map><name set="net">version</name></map>
+   <map><attr type="1" set="bib1">net:version</attr>
+        <attr type="4" set="bib1">3</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Protocol method</title>
+   <map><name set="net">method</name></map>
+   <map><attr type="1" set="bib1">net:method</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Host</title>
+   <map><name set="net">host</name></map>
+   <map><attr type="1" set="bib1">net:host</attr>
+        <attr type="4" set="bib1">3</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Port</title>
+   <map><name set="net">port</name></map>
+   <map><attr type="1" set="bib1">net:port</attr>
+        <attr type="4" set="bib1">3</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Path</title>
+   <map><name set="net">path</name></map>
+   <map><attr type="1" set="bib1">net:path</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Title</title>
+   <map><name set="dc">title</name></map>
+   <map><attr type="1" set="bib1">dc:title</attr></map>
+  </index>
+
+  <index search="true" scan="true" sort="false">
+   <title lang="en">Creator</title>
+   <map><name set="dc">creator</name></map>
+   <map><attr type="1" set="bib1">dc:creator</attr></map>
+  </index>
  </indexInfo>
 
  <!--
  <recordInfo> is not allowed in the same record as <schemaInfo>,
  because standard ZeeRex assumes that the record is describing
  _either_ a Z39.50 database _or_ an SRW/SRU database, but not both.
- We want to override that restriction, which ill entail making a new
+ We want to override that restriction, which will entail making a new
  schema.  Yuck.
  -->
 
  </schemaInfo>
 
  <configInfo>
+  <supports type="relation" xmlns:foo="http://foo.com/explain/" foo:bib1equiv="2=3">=</supports>
   <supports type="relationModifier">relevant</supports>
   <supports type="relationModifier">fuzzy</supports>
   <supports type="relationModifier">regexp</supports>
   <supports type="maskingCharacter">*</supports>
   <supports type="maskingCharacter">?</supports>
+  <default type="contextSet">net</default>
+  <default type="index">cql.anywhere</default>
+
+  <!-- ### Many more <default>s, <setting>s and <supports>s to be added -->
  </configInfo>
- <!-- ### Much, much more to be added -->
+
+ <irspy:status xmlns:irspy="http://indexdata.com/irspy/1.0">
+  <irspy:implementationId>81</irspy:implementationId>
+  <irspy:implementationName>Zebra Information Server/GFS/YAZ</irspy:implementationName>
+  <irspy:implementationVersion>Zebra 2.0.1/1.98/2.1.30</irspy:implementationVersion>
+  <irspy:availability>
+   <irspy:probe ok="0">2006-07-10T11:45:06</irspy:probe>
+   <irspy:probe ok="1">2006-07-17T11:45:02</irspy:probe>
+   <!-- Leave it to applications to calculate averages, etc. -->
+  </irspy:availability>
+ </irspy:status>
 </explain>