Notice: you need to use the 'eq' relation for all @attr 4=3 indexes
+
+
+SRW search using X-PQF query
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=dc
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::data
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::meta
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::index::dc_description
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::snippet
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::facet::dc_description:w
+
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: dom-conf.xml,v 1.1 2008-02-05 08:24:51 marc Exp $ -->
+<!-- $Id: dom-conf.xml,v 1.2 2008-02-07 13:30:19 marc Exp $ -->
<!-- this file configures the Zebra DOM XML filter -->
<!-- see: http://www.indexdata.com/zebra/doc/record-model-dom.html -->
<xmlreader level="2"/>
</input>
- <!--
- <input syntax="usmarc">
- <marc inputcharset="marc-8"/>
- </input>
- -->
-
<extract name="index">
<xslt stylesheet="conf/oai2index.xsl"/>
</extract>
- <!--
- <store>
- </store>
- -->
-
<retrieve name="oai">
</retrieve>
- <retrieve name="zebra">
- <xslt stylesheet="conf/oai2zebra.xsl"/>
- </retrieve>
-
<retrieve name="dc">
<xslt stylesheet="conf/oai2dc.xsl"/>
</retrieve>
+ <retrieve name="zebra">
+ <xslt stylesheet="conf/oai2zebra.xsl"/>
+ </retrieve>
+
</dom>
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: explain.xml,v 1.1 2008-02-01 09:45:17 marc Exp $ -->
+<!-- $Id: explain.xml,v 1.2 2008-02-07 13:30:19 marc Exp $ -->
<!-- this file configures the SRU/SRW explain response -->
<!-- see: http://explain.z3950.org/dtd/commentary.html -->
<databaseInfo>
- <title lang="en" primary="true">OAI record SRU/SRW/Z39.50 server</title>
+ <title lang="en" primary="true">OAI record SRU/SRW/Z39.50 server</title>
<description lang="en" primary="true">
OAI harvested article and preprint metadata records
</description>
<author>
- Marc Cromme, Index Data Aps,
+ Marc Cromme, © Index Data Aps,
http://www.indexdata.dk
</author>
<title lang="en">CQL Server Choice</title>
<map><name set="cql">serverChoice</name></map>
<map>
- <attr type="1" set="bib1">dc_all</attr>
+ <attr type="1" set="bib1">any</attr>
</map>
</index>
<index search="true" scan="true" sort="false">
<title lang="en">CQL All</title>
<map><name set="cql">all</name></map>
<map>
- <attr type="1" set="bib1">dc_all</attr>
+ <attr type="1" set="bib1">any</attr>
</map>
</index>
<title lang="en">Record ID</title>
<map><name set="rec">id</name></map>
<map>
- <attr type="1" set="bib1">rec:id</attr>
+ <attr type="1" set="bib1">oai_identifier</attr>
<attr type="4" set="bib1">3</attr>
</map>
</index>
<attr type="4" set="bib1">3</attr>
</map>
</index>
+ <index search="true" scan="true" sort="false">
+ <title lang="en">DC Source</title>
+ <map><name set="dc">source</name></map>
+ <map>
+ <attr type="1" set="bib1">dc_source</attr>
+ <attr type="4" set="bib1">3</attr>
+ </map>
+ </index>
<!--
<index search="true" scan="true" sort="false">
<title lang="en">DC Coverage</title>
<schema identifier="http://indexdata.dk/dc-short"
location=""
- name="oai"
+ name="zebra::data"
retrieve="true">
<title lang="en">Open Archives Initiative</title>
</schema>
<schema identifier="http://indexdata.dk/zebra/xslt/retrieve"
location=""
- name="zebra"
- retrieve="true">
- <title lang="en">Zebra Retrieve</title>
- </schema>
-
- <schema identifier="http://indexdata.dk/zebra/xslt/1"
- location=""
- name="index"
+ name="zebra::meta"
retrieve="true">
- <title lang="en">Zebra Indexing</title>
+ <title lang="en">Zebra Meta</title>
</schema>
</schemaInfo>