Fix http_file example
[metaproxy-moved-to-github.git] / doc / sru_z3950.xml
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN" 
2     "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
3  <!ENTITY copyright SYSTEM "copyright.xml">
4  <!ENTITY % idcommon SYSTEM "common/common.ent">
5      %idcommon;
6 ]>
7 <refentry id="ref-sru_z3950">
8  <refentryinfo>
9   <productname>Metaproxy</productname>
10   <info><orgname>Index Data</orgname></info>
11  </refentryinfo>
12
13  <refmeta>
14   <refentrytitle>sru_z3950</refentrytitle>
15   <manvolnum>3mp</manvolnum>
16   <refmiscinfo class="manual">Metaproxy Module</refmiscinfo>
17  </refmeta>
18  
19  <refnamediv>
20   <refname>sru_z3950</refname>
21   <refpurpose>Metaproxy Module transforming SRU web service requests to Z3950 Metaproxy packages</refpurpose>
22  </refnamediv>
23  
24  <refsect1><title>DESCRIPTION</title>
25   <para>
26    The <literal>sru_z3950</literal> Metaproxy filter transforms valid
27    SRU GET/POST/SOAP requests to Z3950 requests, and wraps the
28    received hit counts and XML records into suitable SRU response messages. 
29   </para>
30   <para>
31    Multiple database elements defining the names of the accepted
32    databases are allowed in the configuration file. Each
33    of them must contain their own explain record, or must be empty. 
34    Notice that explain
35    records come in SRU and Z39.50 flavors, and this filter requires
36    the SRU version. See the 
37    <ulink url="&url.zeerex.explain;">ZeeReX Explain</ulink>
38    standard pages and the 
39    <ulink url="&url.sru.explain;">SRU Explain</ulink> pages
40    for more information. 
41   </para>
42   <para>
43    All Z39.50 packages and all HTTP packages that do not resolve to
44    one configured database name are passed unaltered to the next
45    filters on the route.
46    </para>
47   <para>
48    The SRU <literal>explain</literal> operation is supported, 
49    returning either the absolute minimum required by the standard, or
50    a  full  pre-defined ZeeReX explain record. 
51   </para>
52   <para>
53    It supports the SRU <literal>searchRetrieve</literal> operation, which
54    is transformed into successive Z3950 <literal>init</literal>, 
55    <literal>search</literal> and <literal>present</literal> requests. 
56   </para>
57   <para>
58    The SRU <literal>scan</literal> operation is not supported.
59    </para>
60   <para>
61    This filter does not handle CQL-to-PQF translations. In case that
62    the backends do not understand CQL, you need to append the
63    <literal>cql_pqf</literal> metaproxy filter.
64   </para>
65   <para>
66     This module supports the following SRU extra parameters:
67     <variablelist>
68       <varlistentry>
69         <term>x-target</term>
70         <listitem>
71           <para>
72             Specifies backend Z39.50 target.
73           </para>
74         </listitem>
75       </varlistentry>
76       <varlistentry>
77         <term>x-max-sockets</term>
78         <listitem>
79           <para>
80             Specifies maximum number of sockets to use for a Z39.50 backend
81             client (for one given target host/db).
82           </para>
83         </listitem>
84       </varlistentry>
85     </variablelist>
86   </para>
87  </refsect1>
88
89  <refsect1><title>EXAMPLES</title>
90   <para>
91    A typical configuration looks like this:
92    <screen><![CDATA[
93     <filter type="sru_z3950">
94       <database name="Default">
95         <explain xmlns="http://explain.z3950.org/dtd/2.0/">
96           ...
97         </explain>
98       </database>
99       <database name="Dummy">
100     </filter>
101
102 ]]>
103    </screen>
104   </para>
105  </refsect1> 
106  
107  <refsect1><title>SEE ALSO</title>
108   <para>
109    <citerefentry>
110     <refentrytitle>metaproxy</refentrytitle>
111     <manvolnum>1</manvolnum>
112    </citerefentry>
113   </para>
114  </refsect1>
115  
116  &copyright;
117 </refentry>
118
119 <!-- Keep this comment at the end of the file
120 Local variables:
121 mode: sgml
122 sgml-omittag:t
123 sgml-shorttag:t
124 sgml-minimize-attributes:nil
125 sgml-always-quote-attributes:t
126 sgml-indent-step:1
127 sgml-indent-data:t
128 sgml-parent-document:nil
129 sgml-local-catalogs: nil
130 sgml-namecase-general:t
131 End:
132 -->