Add putative extension element to document the translation of CQL
[irspy-moved-to-github.git] / zebra / zeerex.xml
index 6a32754..b5013dd 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: zeerex.xml,v 1.5 2006-06-19 08:15:08 mike Exp $ -->
+<!-- $Id: zeerex.xml,v 1.12 2006-09-07 10:29:38 mike Exp $ -->
 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
 
  <serverInfo protocol="SRW/SRU/Z39.50" version="1.1" method="GET/POST">
    <map><attr type="1" set="bib1">cql:all</attr></map>
   </index>
 
-  <!-- ### Many more indexes to be added -->
+  <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">zeerex</default>
+  <default type="contextSet">net</default>
+  <default type="index">cql.anywhere</default>
+
   <!-- ### Many more <default>s, <setting>s and <supports>s to be added -->
  </configInfo>
+
+ <irspy:status xmlns:irspy="http://indexdata.com/irspy/1.0">
+  <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>