Fix spelling in doc
[pazpar2-moved-to-github.git] / doc / pazpar2_conf.xml
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
3  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
4 [
5      <!ENTITY % local SYSTEM "local.ent">
6      %local;
7      <!ENTITY % entities SYSTEM "entities.ent">
8      %entities;
9      <!ENTITY % idcommon SYSTEM "common/common.ent">
10      %idcommon;
11 ]>
12 <refentry id="pazpar2_conf">
13  <refentryinfo>
14   <productname>Pazpar2</productname>
15   <productnumber>&version;</productnumber>
16   <info><orgname>Index Data</orgname></info>
17  </refentryinfo>
18  
19  <refmeta>
20   <refentrytitle>Pazpar2 conf</refentrytitle>
21   <manvolnum>5</manvolnum>
22   <refmiscinfo class="manual">File formats and conventions</refmiscinfo>
23  </refmeta>
24  
25  <refnamediv>
26   <refname>pazpar2_conf</refname>
27   <refpurpose>Pazpar2 Configuration</refpurpose>
28  </refnamediv>
29  
30  <refsynopsisdiv>
31   <cmdsynopsis>
32    <command>pazpar2.conf</command>
33   </cmdsynopsis>
34  </refsynopsisdiv>
35  
36  <refsect1>
37   <title>DESCRIPTION</title>
38   <para>
39    The Pazpar2 configuration file, together with any referenced XSLT files,
40    govern Pazpar2's behavior as a client, and control the normalization and
41    extraction of data elements from incoming result records, for the
42    purposes of merging, sorting, facet analysis, and display.
43   </para>
44   
45   <para>
46    The file is specified using the option -f on the Pazpar2 command line.
47    There is not presently a way to reload the configuration file without
48    restarting Pazpar2, although this will most likely be added some time
49    in the future.
50   </para>
51  </refsect1>
52  
53  <refsect1>
54   <title>FORMAT</title>
55   <para>
56    The configuration file is XML-structured. It must be well-formed XML. All
57    elements specific to Pazpar2 should belong to the namespace
58    <literal>http://www.indexdata.com/pazpar2/1.0</literal> 
59    (this is assumed in the
60    following examples). The root element is named "<literal>pazpar2</literal>".
61    Under the  root element are a number of elements which group categories of
62    information. The categories are described below.
63   </para>
64   
65   <refsect2 id="config-threads">
66    <title>threads</title>
67    <para>
68     This section is optional and is supported for Pazpar2 version 1.3.1 and
69     later . It is identified by element "<literal>threads</literal>" which
70     may include one attribute "<literal>number</literal>" which specifies
71     the number of worker-threads that the Pazpar2 instance is to use.
72     A value of 0 (zero) disables worker-threads (all work is carried out
73     in main thread).
74    </para>
75   </refsect2>
76   <refsect2 id="config-server">
77    <title>server</title>
78    <para>
79     This section governs overall behavior of a server endpoint. It is identified
80     by the element "server" which takes an optional attribute, "id", which
81     identifies this particular Pazpar2 server. Any string value for "id"
82     may be given.
83    </para>
84    <para>
85     The data
86     elements are described below. From Pazpar2 version 1.2 this is
87     a repeatable element.
88    </para>
89    <variablelist> <!-- level 1 -->
90     <varlistentry>
91      <term>listen</term>
92      <listitem>
93       <para>
94        Configures the webservice -- this controls how you can connect
95        to Pazpar2 from your browser or server-side code. The
96        attributes 'host' and 'port' control the binding of the
97        server. The 'host' attribute can be used to bind the server to
98        a secondary IP address of your system, enabling you to run
99        Pazpar2 on port 80 alongside a conventional web server. You
100        can override this setting on the command line using the option -h.
101       </para>
102      </listitem>
103     </varlistentry>
104     
105     <varlistentry>
106      <term>proxy</term>
107      <listitem>
108       <para>
109        If this item is given, Pazpar2 will forward all incoming HTTP
110        requests that do not contain the filename 'search.pz2' to the
111        host and port specified using the 'host' and 'port'
112        attributes. The 'myurl' attribute is required, and should provide
113        the base URL of the server. Generally, the HTTP URL for the host
114        specified in the 'listen' parameter. This functionality is
115        crucial if you wish to use
116        Pazpar2 in conjunction with browser-based code (JS, Flash,
117        applets, etc.) which operates in a security sandbox. Such code
118        can only connect to the same server from which the enclosing
119        HTML page originated. Pazpar2s proxy functionality enables you
120        to host all of the main pages (plus images, CSS, etc) of your
121        application on a conventional webserver, while efficiently
122        processing webservice requests for metasearch status, results,
123        etc.
124       </para>
125      </listitem>
126     </varlistentry>
127
128     <varlistentry>
129      <term>icu_chain</term>
130      <listitem>
131       <para>
132        Specifies character set normalization for relevancy / sorting /
133        mergekey and facets - for the server. These definitions serves as
134        default for services that don't have these given. For the meaning
135        of these settings refer to the
136        <xref linkend="icuchain"/> element inside service.
137       </para>
138      </listitem>
139     </varlistentry>
140     
141     <varlistentry>
142      <term>relevance / sort / mergekey / facet</term>
143      <listitem>
144       <para>
145        Obsolete. Use element icu_chain instead.
146       </para>
147      </listitem>
148     </varlistentry>
149     
150     <varlistentry>
151      <term>settings</term>
152      <listitem>
153       <para>
154        Specifies target settings for the server.. These settings serves
155        as default for all services which don't have these given.
156        The settings element requires one attribute 'src' which specifies
157        a settings file or a directory . If a directory is given all
158        files with suffix <filename>.xml</filename> is read from this
159        directory. Refer to 
160        <xref linkend="target_settings"/> for more information.
161       </para>
162      </listitem>
163     </varlistentry>
164     
165     <varlistentry>
166      <term>service</term>
167      <listitem>
168       <para>
169        This nested element controls the behavior of Pazpar2 with
170        respect to your data model. In Pazpar2, incoming records are
171        normalized, using XSLT, into an internal representation.
172        The 'service' section controls the further processing and
173        extraction of data from the internal representation, primarily
174        through the 'metadata' sub-element.
175       </para>
176       <para>
177        Pazpar2 version 1.2 and later allows multiple service elements.
178        Multiple services must be given a unique ID by specifying
179        attribute <literal>id</literal>.
180        A single service may be unnamed (service ID omitted). The
181        service ID is referred to in the
182        <link linkend="command-init"><literal>init</literal></link> webservice
183        command's <literal>service</literal> parameter.
184       </para>
185
186       <variablelist> <!-- Level 2 -->
187        <varlistentry>
188         <term>metadata</term>
189         <listitem>
190          <para>
191           One of these elements is required for every data element in
192           the internal representation of the record (see
193           <xref linkend="data_model"/>. It governs
194           subsequent processing as pertains to sorting, relevance
195           ranking, merging, and display of data elements. It supports
196           the following attributes:
197          </para>
198          
199          <variablelist> <!-- level 3 -->
200           <varlistentry>
201            <term>name</term>
202            <listitem>
203             <para>
204              This is the name of the data element. It is matched
205              against the 'type' attribute of the
206              'metadata' element 
207              in the normalized record. A warning is produced if
208              metadata elements with an unknown name are
209              found in the 
210              normalized record. This name is also used to
211              represent 
212              data elements in the records returned by the
213              webservice API, and to name sort lists and browse
214              facets.
215             </para>
216            </listitem>
217           </varlistentry>
218           
219           <varlistentry>
220            <term>type</term>
221            <listitem>
222             <para>
223              The type of data element. This value governs any
224              normalization or special processing that might take
225              place on an element. Possible values are 'generic'
226              (basic string), 'year' (a range is computed if
227              multiple years are found in the record). Note: This
228              list is likely to increase in the future.
229             </para>
230            </listitem>
231           </varlistentry>
232           
233           <varlistentry>
234            <term>brief</term>
235            <listitem>
236             <para>
237              If this is set to 'yes', then the data element is
238              includes in brief records in the webservice API. Note
239              that this only makes sense for metadata elements that
240              are merged (see below). The default value is 'no'.
241             </para>
242            </listitem>
243           </varlistentry>
244           
245           <varlistentry>
246            <term>sortkey</term>
247            <listitem>
248             <para>
249              Specifies that this data element is to be used for
250              sorting. The possible values are 'numeric' (numeric
251              value), 'skiparticle' (string; skip common, leading
252              articles), and 'no' (no sorting). The default value is
253              'no'.
254             </para>
255            </listitem>
256           </varlistentry>
257           
258           <varlistentry>
259            <term>rank</term>
260            <listitem>
261             <para>
262              Specifies that this element is to be used to
263              help rank 
264              records against the user's query (when ranking is
265              requested). 
266              The valus is of the form 
267              <literallayout>
268               M [F N]
269              </literallayout>
270              where M is an integer, used as a
271              multiplier against the basic TF*IDF score. A value of
272              1 is the base, higher values give additional weight to
273              elements of this type. The default is '0', which
274              excludes this element from the rank calculation.
275             </para>
276             <para>
277              F is a CCL field and N is the multipler for terms
278              that matches those part of the CCL field in search.
279              The F+N combo allows the system to use a different
280              multipler for a certain field. For example, a rank value of
281              "<literal>1 au 3</literal>" gives a multipler of 3 for
282              all terms part of the au(thor) terms and 1 for everything else.
283             </para>
284             <para>
285              For Pazpar2 1.6.13 and later, the rank may also defined
286              "per-document", by the normalization stylesheet. 
287             </para>
288             <para>
289              The per field rank was introduced in Pazpar2 1.6.15. Earlier
290              releases only allowed a rank value M (simple integer).
291             </para>
292            </listitem>
293           </varlistentry>
294           
295           <varlistentry>
296            <term>termlist</term>
297            <listitem>
298             <para>
299              Specifies that this element is to be used as a
300              termlist, or browse facet. Values are tabulated from
301              incoming records, and a highscore of values (with
302              their associated frequency) is made available to the
303              client through the webservice API. 
304              The possible values
305              are 'yes' and 'no' (default).
306             </para>
307            </listitem>
308           </varlistentry>
309           
310           <varlistentry>
311            <term>merge</term>
312            <listitem>
313             <para>
314              This governs whether, and how elements are extracted
315              from individual records and merged into cluster
316              records. The possible values are: 'unique' (include
317              all unique elements), 'longest' (include only the
318              longest element (strlen), 'range' (calculate a range
319              of values across all matching records), 'all' (include
320              all elements), or 'no' (don't merge; this is the
321              default);
322             </para>
323            </listitem>
324           </varlistentry>
325           
326           <varlistentry>
327            <term>mergekey</term>
328            <listitem>
329             <para>
330              If set to '<literal>required</literal>', the value of this
331              metadata element is appended to the resulting mergekey if
332              the metadata is present in a record instance.
333              If the metadata element is not present, the a unique mergekey
334              will be generated instead.
335             </para>
336             <para>
337              If set to '<literal>optional</literal>', the value of this
338              metadata element is appended to the resulting mergekey if the
339              the metadata is present in a record instance. If the metadata
340              is not present, it will be empty.
341             </para>
342             <para>
343              If set to '<literal>no</literal>' or the mergekey attribute is
344              omitted, the metadata will not be used in the creation of a
345              mergekey.
346             </para>
347            </listitem>
348           </varlistentry>
349
350           <varlistentry>
351            <term id="facetrule">facetrule</term>
352            <listitem>
353             <para>
354              Specifies the ICU rule set to be used for normalizing
355              facets. If facetrule is omitted from metadata, the
356              rule set 'facet' is used.
357             </para>
358            </listitem>
359           </varlistentry>
360           
361           <varlistentry>
362            <term id="metadata_limitmap">limitmap</term>
363            <listitem>
364             <para>
365              Specifies a default limitmap for this field. This is to avoid mass 
366              configuring of targets. However it is important to review/do this on a per
367              target since it is usually target-specific. See limitmap for format. 
368             </para>
369            </listitem>
370           </varlistentry>
371           
372           <varlistentry>
373            <term id="metadata_facetmap">facetmap</term>
374            <listitem>
375             <para>
376              Specifies a default facetmap for this field. This is to avoid mass 
377              configuring of targets. However it is important to review/do this on a per
378              target since it is usually target-specific. See facetmap for format. 
379             </para>
380            </listitem>
381           </varlistentry>
382           
383           <varlistentry>
384            <term>setting</term>
385            <listitem>
386             <para>
387              This attribute allows you to make use of static database
388              settings in the processing of records. Three possible values
389              are allowed. 'no' is the default and doesn't do anything.
390              'postproc' copies the value of a setting with the same name
391              into the output of the normalization stylesheet(s). 'parameter'
392              makes the value of a setting with the same name available 
393              as a parameter to the normalization stylesheet, so you
394              can further process the value inside of the stylesheet, or use
395              the value to decide how to deal with other data values.
396             </para>
397             <para>
398              The purpose of using settings in this way can either be to
399              control the behavior of normalization stylesheet in a database-
400              dependent way, or to easily make database-dependent values
401              available to display-logic in your user interface, without having
402              to implement complicated interactions between the user interface
403              and your configuration system.
404             </para>
405            </listitem>
406           </varlistentry>
407           
408          </variablelist> <!-- attributes to metadata -->
409          
410         </listitem>
411        </varlistentry>
412
413        <varlistentry>
414         <term id="servicexslt" xreflabel="xslt">xslt</term>
415         <listitem>
416          <para>
417           Defines a XSLT stylesheet. The <literal>xslt</literal>
418           element takes exactly one attribute <literal>id</literal>
419           which names the stylesheet. This can be referred to in target
420           settings <xref linkend="pzxslt"/>.
421          </para>
422          <para>
423           The content of the xslt element is the embedded stylesheet XML
424          </para>
425         </listitem>
426        </varlistentry>
427        <varlistentry>
428         <term id="icuchain" xreflabel="icu_chain">icu_chain</term>
429         <listitem>
430          <para>
431           Specifies a named ICU rule set. The icu_chain element must include
432           attribute 'id' which specifies the identifier (name) for the ICU
433           rule set.
434           Pazpar2 uses the particular rule sets for particular purposes.
435           Rule set 'relevance' is used to normalize
436           terms for relevance ranking. Rule set 'sort' is used to 
437           normalize terms for sorting. Rule set 'mergekey' is used to
438           normalize terms for making a mergekey and, finally. Rule set 'facet'
439           is normally used to normalize facet terms, unless
440           <xref linkend="facetrule">facetrule</xref> is given for a
441           metadata field.
442          </para>
443          <para>
444           The icu_chain element must also include a 'locale'
445           attribute which must be set to one of the locale strings
446           defined in ICU. The child elements listed below can be
447           in any order, except the 'index' element which logically
448           belongs to the end of the list. The stated tokenization,
449           transformation and charmapping instructions are performed
450           in order from top to bottom. 
451          </para>
452          <variablelist> <!-- Level 2 -->
453           <varlistentry>
454            <term>casemap</term>
455            <listitem>
456             <para>
457              The attribute 'rule' defines the direction of the
458              per-character casemapping, allowed values are "l"
459              (lower), "u" (upper), "t" (title).  
460             </para>
461            </listitem>
462           </varlistentry>
463           <varlistentry>
464            <term>transform</term>
465            <listitem>
466             <para>
467              Normalization and transformation of tokens follows
468              the rules defined in the 'rule' attribute. For
469              possible values we refer to the extensive ICU
470              documentation found at the 
471              <ulink url="&url.icu.transform;">ICU
472              transformation</ulink> home page. Set filtering
473              principles are explained at the 
474              <ulink url="&url.icu.unicode.set;">ICU set and
475              filtering</ulink> page.
476             </para>
477            </listitem>
478           </varlistentry>
479           <varlistentry>
480            <term>tokenize</term>
481            <listitem>
482             <para>
483              Tokenization is the only rule in the ICU chain
484              which splits one token into multiple tokens. The
485              'rule' attribute may have the following values:
486              "s" (sentence), "l" (line-break), "w" (word), and
487              "c" (character), the later probably not being
488              very useful in a pruning Pazpar2 installation. 
489             </para>
490            </listitem>
491           </varlistentry>
492          </variablelist>
493          <para>
494           From Pazpar2 version 1.1 the ICU wrapper from YAZ is used.
495           Refer to the <ulink url="&url.yaz.yaz-icu;">yaz-icu</ulink>
496           utility for more information.
497          </para>
498         </listitem>
499        </varlistentry>
500        
501        <varlistentry>
502         <term>relevance</term>
503         <listitem>
504          <para>
505           Specifies the ICU rule set used for relevance ranking.
506           The child element of 'relevance' must be 'icu_chain' and the
507           'id' attribute of the icu_chain is ignored. This
508           definition is obsolete and should be replaced by the equivalent
509           construct:
510           <screen>
511            &lt;icu_chain id="relevance" locale="en">..&lt;icu_chain>
512           </screen>
513          </para>
514         </listitem>
515        </varlistentry>
516        
517        <varlistentry>
518         <term>sort</term>
519         <listitem>
520          <para>
521           Specifies the ICU rule set used for sorting.
522           The child element of 'sort' must be 'icu_chain' and the
523           'id' attribute of the icu_chain is ignored. This
524           definition is obsolete and should be replaced by the equivalent
525           construct:
526           <screen>
527            &lt;icu_chain id="sort" locale="en">..&lt;icu_chain>
528           </screen>
529          </para>
530         </listitem>
531        </varlistentry>
532        
533        <varlistentry>
534         <term>mergekey</term>
535         <listitem>
536          <para>
537           Specifies ICU tokenization and transformation rules
538           for tokens that are used in Pazpar2's mergekey. 
539           The child element of 'mergekey' must be 'icu_chain' and the
540           'id' attribute of the icu_chain is ignored. This
541           definition is obsolete and should be replaced by the equivalent
542           construct:
543           <screen>
544            &lt;icu_chain id="mergekey" locale="en">..&lt;icu_chain>
545           </screen>
546          </para>
547         </listitem>
548        </varlistentry>
549
550        <varlistentry>
551         <term>facet</term>
552         <listitem>
553          <para>
554           Specifies ICU tokenization and transformation rules
555           for tokens that are used in Pazpar2's facets.
556           The child element of 'facet' must be 'icu_chain' and the
557           'id' attribute of the icu_chain is ignored. This
558           definition is obsolete and should be replaced by the equivalent
559           construct:
560           <screen>
561            &lt;icu_chain id="facet" locale="en">..&lt;icu_chain>
562           </screen>
563          </para>
564         </listitem>
565        </varlistentry>
566
567        <varlistentry>
568         <term>ccldirective</term>
569         <listitem>
570          <para>
571           Customizes the CCL parsing (interpretation of query parameter
572           in search).
573           The name and value of the CCL directive is gigen by attributes
574           'name' and 'value' respectively. Refer to possible list of names
575           in the
576           <ulink 
577               url="http://www.indexdata.com/yaz/doc/tools.html#ccl.directives.table">
578            YAZ manual
579            </ulink>.
580          </para>
581         </listitem>
582        </varlistentry>
583
584        <varlistentry>
585         <term>rank</term>
586         <listitem>
587          <para>
588           Customizes the ranking (relevance) algorithm.
589           Attribute 'cluster' is a boolean
590           that controls whether Pazpar2 should boost ranking for merged
591           records. Is 'yes' by default. A value of 'no' will make
592           Pazpar2 average ranking of each record in a cluster.
593          </para>
594          <para>
595           This configuration was added in pazpar2 1.6.18.
596          </para>
597         </listitem>
598        </varlistentry>
599
600        <varlistentry id="sort-default">
601         <term>sort-default</term>
602         <listitem>
603          <para>
604           Specifies the default sort criteria (default 'relevance'),
605           which previous was hard-coded as default criteria in search. 
606           This is a fix/work-around to avoid re-searching when using 
607           target-based sorting. In order for this to work efficient, 
608           the search must also have the sort critera parameter; otherwise 
609           pazpar2 will do re-searching on search criteria changes, if
610           changed between search and show command.
611          </para>
612          <para>
613           This configuration was added in pazpar2 1.6.20.
614          </para>
615         </listitem>
616        </varlistentry>
617
618 <!--       
619        <varlistentry>
620         <term>set</term>
621         <listitem>
622          <para>
623           Specifies a variable that will be inherited by all targets defined in settings
624           <screen>
625            &lt;set name="test" value="en"..&lt;set>
626           </screen>
627          </para>
628         </listitem>
629        </varlistentry>
630 -->   
631        <varlistentry>
632         <term>settings</term>
633         <listitem>
634          <para>
635           Specifies target settings for this service. Refer to
636           <xref linkend="target_settings"/>.
637          </para>
638         </listitem>
639        </varlistentry>
640
641        <varlistentry>
642         <term>timeout</term>
643         <listitem>
644          <para>
645           Specifies timeout parameters for this service.
646           The <literal>timeout</literal>
647           element supports the following attributes: 
648           <literal>session</literal>, <literal>z3950_operation</literal>,
649           <literal>z3950_session</literal> which specifies
650           'session timeout', 'Z39.50 operation timeout',
651           'Z39.50 session timeout' respectively. The Z39.50 operation
652           timeout is the time Pazpar2 will wait for an active Z39.50/SRU
653           operation before it gives up (times out). The Z39.50 session
654           time out is the time Pazpar2 will keep the session alive for
655           an idle session (no operation).
656          </para>
657          <para>
658           The following is recommended but not required:
659           z3950_operation (30) &lt; session (60) &lt; z3950_session (180) .
660           The default values are given in parantheses.
661          </para>
662         </listitem>
663        </varlistentry>
664       </variablelist>     <!-- Data elements in service directive -->
665      </listitem>
666     </varlistentry>
667    </variablelist>           <!-- Data elements in server directive -->
668   </refsect2>
669  </refsect1>
670
671  <refsect1>
672   <title>EXAMPLE</title>
673   <para>
674    Below is a working example configuration:
675   </para>
676   <screen>
677    <![CDATA[
678 <?xml version="1.0" encoding="UTF-8"?>
679 <pazpar2 xmlns="http://www.indexdata.com/pazpar2/1.0">
680
681  <threads number="10"/>
682  <server>
683   <listen port="9004"/>
684   <service>
685    <metadata name="title" brief="yes" sortkey="skiparticle"
686              merge="longest" rank="6"/>
687    <metadata name="isbn" merge="unique"/>
688    <metadata name="date" brief="yes" sortkey="numeric"
689              type="year" merge="range" termlist="yes"/>
690    <metadata name="author" brief="yes" termlist="yes"
691              merge="longest" rank="2"/>
692    <metadata name="subject" merge="unique" termlist="yes" rank="3" limitmap="local:"/>
693    <metadata name="url" merge="unique"/>
694    <icu_chain id="relevance" locale="el">
695     <transform rule="[:Control:] Any-Remove"/>
696     <tokenize rule="l"/>
697     <transform rule="[[:WhiteSpace:][:Punctuation:]] Remove"/>
698     <casemap rule="l"/>
699    </icu_chain>
700    <settings src="mysettings"/>
701    <timeout session="60"/>
702   <service>
703  </server>
704 </pazpar2>
705    ]]>
706   </screen>
707  </refsect1> 
708
709  <refsect1 id="config-include">
710   <title>INCLUDE FACILITY</title>
711   <para>
712    The XML configuration may be partitioned into multiple files by using
713    the <literal>include</literal> element which takes a single attribute,
714    <literal>src</literal>. The of the <literal>src</literal> attribute is
715    regular Shell like glob-pattern. For example,
716    <screen><![CDATA[
717    <include src="/etc/pazpar2/conf.d/*.xml"/>
718    ]]></screen>
719   </para>
720   <para>
721    The include facility requires Pazpar2 version 1.2.
722   </para>
723  </refsect1>
724
725  <refsect1 id="target_settings">
726   <title>TARGET SETTINGS</title>
727   <para>
728    Pazpar2 features a cunning scheme by which you can associate various
729    kinds of attributes, or settings with search targets. This can be done
730    through XML files which are read at startup; each file can associate
731    one or more settings with one or more targets. The file format is generic
732    in nature, designed to support a wide range of application requirements. The
733    settings can be purely technical things, like, how to perform a title
734    search against a given target, or it can associate arbitrary name=value
735    pairs with groups of targets -- for instance, if you would like to
736    place all commercial full-text bases in one group for selection
737    purposes, or you would like to control what targets are accessible
738    to users by default. Per-database settings values can even be used
739    to drive sorting, facet/termlist generation, or end-user interface display
740    logic.
741   </para>
742   
743   <para>
744    During startup, Pazpar2 will recursively read a specified directory
745    (can be identified in the pazpar2.cfg file or on the command line), and
746    process any settings files found therein.
747   </para>
748   
749   <para>
750    Clients of the Pazpar2 webservice interface can selectively override
751    settings for individual targets within the scope of one session. This
752    can be used in conjunction with an external authentication system to
753    determine which resources are to be accessible to which users. Pazpar2
754    itself has no notion of end-users, and so can be used in conjunction
755    with any type of authentication system. Similarly, the authentication
756    tokens submitted to access-controlled search targets can similarly be
757    overridden, to allow use of Pazpar2 in a consortial or multi-library
758    environment, where different end-users may need to be represented to
759    some search targets in different ways. This, again, can be managed
760    using an external database or other lookup mechanism. Setting overrides
761    can be performed either using the
762    <link linkend="command-init">init</link> or the 
763    <link linkend="command-settings">settings</link> webservice
764    command.
765   </para>
766   
767   <para>
768    In fact, every setting that applies to a database (except pz:id, which
769    can only be used for filtering targets to use for a search) can be overridden
770    on a per-session basis. This allows the client to override specific CCL fields
771    for searching, etc., to meet the needs of a session or user.
772   </para>
773
774   <para>
775    Finally, as an extreme case of this, the webservice client can
776    introduce entirely new targets, on the fly, as part of the
777    <link linkend="command-init">init</link> or
778    <link linkend="command-settings">settings</link> command.
779    This is useful if you desire to manage information
780    about your search targets in a separate application such as a database.
781    You do not need any static settings file whatsoever to run Pazpar2 -- as
782    long as the webservice client is prepared to supply the necessary
783    information at the beginning of every session.
784   </para>
785
786   <note>
787    <para>
788     The following discussion of practical issues related to session
789     and settings management are cast in terms of a user interface based on
790     Ajax/Javascript technology. It would apply equally well to many other
791     kinds of browser-based logic.
792    </para>
793   </note>
794
795   <para>
796    Typically, a Javascript client is not allowed to directly alter the
797    parameters of a session. There are two reasons for this. One has to do
798    with access to information; typically, information about a user will
799    be stored in a system on the server side, or it will be accessible in
800    some way from the server.  However, since the Javascript client cannot
801    be entirely trusted (some hostile agent might in fact 'pretend' to be
802    a regular ws client), it is more robust to control session settings
803    from scripting that you run as part of your webserver. Typically, this
804    can be handled during the session initialization, as follows:
805   </para>
806
807   <para>
808    Step 1: The Javascript client loads, and asks the webserver for a
809    new Pazpar2 session ID. This can be done using a Javascript call, for
810    instance. Note that it is possible to submit Ajax HTTPXmlRequest calls
811    either to Pazpar2 or to the webserver that Pazpar2 is proxying
812    for. See (XXX Insert link to Pazpar2 protocol).
813   </para>
814
815   <para>
816    Step 2: Code on the webserver authenticates the user, by database lookup,
817    LDAP access, NCIP, etc. Determines which resources the user has access to,
818    and any user-specific parameters that are to be applied during this session.
819   </para>
820
821   <para>
822    Step 3: The webserver initializes a new Pazpar2 settings, and sets
823    user-specific parameters as necessary, using the init webservice
824    command. A new session ID is returned.
825   </para>
826
827   <para>
828    Step 4: The webserver returns this session ID to the Javascript
829    client, which then uses the session ID to submit searches, show
830    results, etc.
831   </para>
832
833   <para>
834    Step 5: When the Javascript client ceases to use the session,
835    Pazpar2 destroys any session-specific information.
836   </para>
837
838   <refsect2>
839    <title>SETTINGS FILE FORMAT</title>
840    <para>
841     Each file contains a root element named &lt;settings&gt;. It may
842     contain one or more &lt;set&gt; elements. The settings and set
843     elements may contain the following attributes. Attributes in the set
844     node overrides those in the setting root element. Each set node must
845     specify (directly, or inherited from the parent node) at least a
846     target, name, and value.
847    </para>
848
849    <variablelist> 
850     <varlistentry>
851      <term>target</term>
852      <listitem>
853       <para>
854        This specifies the search target to which this setting should be
855        applied. Targets are identified by their Z39.50 URL, generally
856        including the host, port, and database name, (e.g.
857        <literal>bagel.indexdata.com:210/marc</literal>).
858        Two wildcard forms are accepted:
859        * (asterisk) matches all known targets;
860        <literal>bagel.indexdata.com:210/*</literal> matches all
861        known databases on the given host.
862       </para>
863       <para>
864        A precedence system determines what happens if there are
865        overlapping values for the same setting name for the same
866        target. A setting for a specific target name overrides a
867        setting which specifies target using a wildcard. This makes it
868        easy to set defaults for all targets, and then override them
869        for specific targets or hosts. If there are
870        multiple overlapping settings with the same name and target
871        value, the 'precedence' attribute determines what happens.
872       </para>
873       <para>
874        For Pazpar2 1.6.4 or later, the target ID may be user-defined, in
875        which case, the actual host, port, etc is given by setting
876        <xref linkend="pzurl"/>.
877       </para>
878      </listitem>
879     </varlistentry>
880     <varlistentry>
881      <term>name</term>
882      <listitem>
883       <para>
884        The name of the setting. This can be anything you like.
885        However, Pazpar2 reserves a number of setting names for
886        specific purposes, all starting with 'pz:', and it is a good
887        idea to avoid that prefix if you make up your own setting
888        names. See below for a list of reserved variables.
889       </para>
890      </listitem>
891     </varlistentry>
892     <varlistentry>
893      <term>value</term>
894      <listitem>
895       <para>
896        The value of the setting. Generally, this can be anything you
897        want -- however, some of the reserved settings may expect
898        specific kinds of values.
899       </para>
900      </listitem>
901     </varlistentry>
902     <varlistentry>
903      <term>precedence</term>
904      <listitem>
905       <para>
906        This should be an integer. If not provided, the default value
907        is 0. If two (or more) settings have the same content for
908        target and name, the precedence value determines the outcome.
909        If both settings have the same precedence value, they are both
910        applied to the target(s). If one has a higher value, then the
911        value of that setting is applied, and the other one is ignored.
912       </para>
913      </listitem>
914     </varlistentry>
915    </variablelist>
916
917    <para>
918     By setting defaults for target, name, or value in the root
919     settings node, you can use the settings files in many different
920     ways. For instance, you can use a single file to set defaults for
921     many different settings, like search fields, retrieval syntaxes,
922     etc. You can have one file per server, which groups settings for
923     that server or target. You could also have one file which associates
924     a number of targets with a given setting, for instance, to associate
925     many databases with a given category or class that makes sense
926     within your application.
927    </para>
928
929    <para>
930     The following examples illustrate uses of the settings system to
931     associate settings with targets to meet different requirements.
932    </para>
933
934    <para>
935     The example below associates a set of default values that can be
936     used across many targets. Note the wildcard for targets.
937     This associates the given settings with all targets for which no
938     other information is provided.
939     <screen><![CDATA[
940     <settings target="*">
941
942     <!-- This file introduces default settings for pazpar2 -->
943
944     <!-- mapping for unqualified search -->
945     <set name="pz:cclmap:term" value="u=1016 t=l,r s=al"/>
946
947     <!-- field-specific mappings -->
948     <set name="pz:cclmap:ti" value="u=4 s=al"/>
949     <set name="pz:cclmap:su" value="u=21 s=al"/>
950     <set name="pz:cclmap:isbn" value="u=7"/>
951     <set name="pz:cclmap:issn" value="u=8"/>
952     <set name="pz:cclmap:date" value="u=30 r=r"/>
953     
954     <set name="pz:limitmap:title" value="rpn:@attr 1=4 @attr 6=3"/>
955     <set name="pz:limitmap:date" value="ccl:date"/>
956
957     <!-- Retrieval settings -->
958
959     <set name="pz:requestsyntax" value="marc21"/>
960     <set name="pz:elements" value="F"/>
961
962     <!-- Query encoding -->
963     <set name="pz:queryencoding" value="iso-8859-1"/>
964
965     <!-- Result normalization settings -->
966
967     <set name="pz:nativesyntax" value="iso2709"/>
968     <set name="pz:xslt" value="../etc/marc21.xsl"/>
969
970     </settings>
971
972     ]]></screen>
973    </para>
974
975    <para>
976     The next example shows certain settings overridden for one target,
977     one which returns XML records containing DublinCore elements, and
978     which furthermore requires a username/password.
979     <screen><![CDATA[
980     <settings target="funkytarget.com:210/db1">
981     <set name="pz:requestsyntax" value="xml"/>
982     <set name="pz:nativesyntax" value="xml"/>
983     <set name="pz:xslt" value="../etc/dublincore.xsl"/>
984
985     <set name="pz:authentication" value="myuser/password"/>
986     </settings>
987     ]]></screen>
988    </para>
989
990    <para>
991     The following example associates a specific name/value combination
992     with a number of targets. The targets below are access-restricted,
993     and can only be used by users with special credentials.
994     <screen><![CDATA[
995     <settings name="pz:allow" value="0">
996     <set target="funkytarget.com:210/*"/>
997     <set target="commercial.com:2100/expensiveDb"/>
998     </settings>
999     ]]></screen>
1000    </para>
1001
1002   </refsect2>
1003
1004   <refsect2>
1005    <title>RESERVED SETTING NAMES</title>
1006    <para>
1007     The following setting names are reserved by Pazpar2 to control the
1008     behavior of the client function.
1009    </para>
1010    
1011    <variablelist>
1012     <varlistentry>
1013      <term>pz:cclmap:xxx</term>
1014      <listitem>
1015       <para>
1016        This establishes a CCL field definition or other setting, for
1017        the purpose of mapping end-user queries. XXX is the field or
1018        setting name, and the value of the setting provides parameters
1019        (e.g. parameters to send to the server, etc.). Please consult
1020        the YAZ manual for a full overview of the many capabilities of
1021        the powerful and flexible CCL parser.
1022       </para>
1023       <para>
1024        Note that it is easy to establish a set of default parameters,
1025        and then override them individually for a given target.
1026       </para>
1027      </listitem>
1028     </varlistentry>
1029     <varlistentry id="requestsyntax">
1030      <term>pz:requestsyntax</term>
1031      <listitem>
1032       <para>
1033        This specifies the record syntax to use when requesting
1034        records from a given server. The value can be a symbolic name like
1035        marc21 or xml, or it can be a Z39.50-style dot-separated OID.
1036       </para>
1037      </listitem>
1038     </varlistentry>
1039     <varlistentry>
1040      <term>pz:elements</term>
1041      <listitem>
1042       <para>
1043        The element set name to be used when retrieving records from a
1044        server.
1045       </para>
1046      </listitem>
1047     </varlistentry>
1048     <varlistentry>
1049      <term>pz:piggyback</term>
1050      <listitem>
1051       <para>
1052        Piggybacking enables the server to retrieve records from the
1053        server as part of the search response in Z39.50. Almost all
1054        servers support this (or fail it gracefully), but a few
1055        servers will produce undesirable results.
1056        Set to '1' to enable piggybacking, '0' to disable it. Default
1057        is 1 (piggybacking enabled).
1058       </para>
1059      </listitem>
1060     </varlistentry>
1061     <varlistentry>
1062      <term>pz:nativesyntax</term>
1063      <listitem>
1064       <para>
1065        Specifies how Pazpar2 shoule map retrieved records to XML. Currently
1066        supported values are <literal>xml</literal>,
1067        <literal>iso2709</literal> and <literal>txml</literal>.
1068       </para>
1069       <para>
1070        The value <literal>iso2709</literal> makes Pazpar2 convert retrieved
1071        MARC records to MARCXML. In order to convert to XML, the exact
1072        chacater set of the MARC must be known (if not, the resulting
1073        XML is probably not well-formed). The character set may be 
1074        specified by adding:
1075        <literal>;charset=</literal><replaceable>charset</replaceable> to
1076        <literal>iso2709</literal>. If omitted, a charset of
1077        MARC-8 is assumed. This is correct for most MARC21/USMARC records.
1078       </para>
1079       <para>
1080        The value <literal>txml</literal> is like <literal>iso2709</literal>
1081        except that records are converted to TurboMARC instead of MARCXML.
1082       </para>
1083       <para>
1084        The value <literal>xml</literal> is used if Pazpar2 retrieves
1085        records that are already XML (no conversion takes place).
1086       </para>
1087      </listitem>
1088     </varlistentry>
1089
1090     <varlistentry>
1091      <term>pz:queryencoding</term>
1092      <listitem>
1093       <para>
1094        The encoding of the search terms that a target accepts. Most
1095        targets do not honor UTF-8 in which case this needs to be specified.
1096        Each term in a query will be converted if this setting is given.
1097       </para>
1098      </listitem>
1099     </varlistentry>
1100
1101     <varlistentry>
1102      <term>pz:negotiation_charset</term>
1103      <listitem>
1104       <para>
1105        Sets character set for Z39.50 negotiation. Most targets do not support
1106        this, and some will even close connection if set (crash on server
1107        side or similar). If set, you probably want to set it to
1108        <literal>UTF-8</literal>.
1109       </para>
1110      </listitem>
1111     </varlistentry>
1112
1113     <varlistentry>
1114      <term id="pzxslt" xreflabel="pz:xslt">pz:xslt</term>
1115      <listitem>
1116       <para>
1117        Is a comma separated list of of stylesheet names that specifies
1118        how to convert incoming records to the internal representation.
1119       </para>
1120       <para>
1121        For each name, the embedded stylesheets (XSL) that comes with the
1122        service definition are consulted first and takes precedence over
1123        external files; see <xref linkend="servicexslt"/>
1124        of service definition).
1125        If the name does not match an embedded stylesheet it is
1126        considered a filename.
1127       </para>
1128       <para>
1129        The suffix of each file specifies the kind of tranformation.
1130        Suffix "<literal>.xsl</literal>" makes an XSL transform. Suffix
1131        "<literal>.mmap</literal>" will use the MMAP transform (described below).
1132       </para>
1133       <para>
1134        The special value "<literal>auto</literal>" will use a file
1135        which is the <link linkend="requestsyntax">pz:requestsyntax's</link>
1136        value followed by
1137        <literal>'.xsl'</literal>.
1138       </para>
1139       <para>
1140        When mapping MARC records, XSLT can be bypassed for increased 
1141        performance with the alternate "MARC map" format.  Provide the
1142        path of a file with extension ".mmap" containing on each line:
1143        <programlisting>
1144        &lt;field&gt; &lt;subfield&gt; &lt;metadata element&gt;</programlisting>
1145        For example:
1146        <programlisting>
1147         245 a title
1148         500 $ description
1149         773 * citation
1150        </programlisting>
1151        To map the field value specify a subfield of '$'.  To store a 
1152        concatenation of all subfields, specify a subfield of '*'.
1153       </para>
1154      </listitem>
1155     </varlistentry>
1156     <varlistentry>
1157      <term>pz:authentication</term>
1158      <listitem>
1159       <para>
1160        Sets an authentication string for a given server. See the section on
1161        authorization and authentication for discussion.
1162       </para>
1163      </listitem>
1164     </varlistentry>
1165     <varlistentry>
1166      <term>pz:allow</term>
1167      <listitem>
1168       <para>
1169        Allows or denies access to the resources it is applied to. Possible
1170        values are '0' and '1'.
1171        The default is '1' (allow access to this resource).
1172        See the manual section on authorization and authentication for
1173        discussion about how to use this setting.
1174       </para>
1175      </listitem>
1176     </varlistentry>
1177     <varlistentry>
1178      <term>pz:maxrecs</term>
1179      <listitem>
1180       <para>
1181        Controls the maximum number of records to be retrieved from a
1182        server. The default is 100.
1183       </para>
1184      </listitem>
1185     </varlistentry>
1186     <varlistentry>
1187      <term>pz:presentchunk</term>
1188      <listitem>
1189       <para>
1190        Controls the chunk size in present requests. Pazpar2 will 
1191        make (maxrecs / chunk) request(s). The default is 20.
1192       </para>
1193      </listitem>
1194     </varlistentry>
1195     <varlistentry>
1196      <term>pz:id</term>
1197      <listitem>
1198       <para>
1199        This setting can't be 'set' -- it contains the ID (normally
1200        ZURL) for a given target, and is useful for filtering --
1201        specifically when you want to select one or more specific
1202        targets in the search command.
1203       </para>
1204      </listitem>
1205     </varlistentry>
1206     <varlistentry>
1207      <term>pz:zproxy</term>
1208      <listitem>
1209       <para>
1210        The 'pz:zproxy' setting has the value syntax 
1211        'host.internet.adress:port', it is used to tunnel Z39.50
1212        requests through the named Z39.50 proxy.
1213       </para>
1214      </listitem>
1215     </varlistentry>
1216     
1217     <varlistentry>
1218      <term>pz:apdulog</term>
1219      <listitem>
1220       <para>
1221        If the 'pz:apdulog' setting is defined and has other value than 0,
1222        then Z39.50 APDUs are written to the log.
1223       </para>
1224      </listitem>
1225     </varlistentry>
1226     
1227     <varlistentry>
1228      <term>pz:sru</term>
1229      <listitem>
1230       <para>
1231        This setting enables
1232        <ulink url="&url.sru;">SRU</ulink>/<ulink url="&url.solr;">Solr</ulink>
1233        support.
1234        It has four possible settings.
1235        'get', enables SRU access through GET requests. 'post' enables SRU/POST
1236        support, less commonly supported, but useful if very large requests are
1237        to be submitted. 'srw' enables the SRW (SRU over SOAP) variation of
1238        the protocol.
1239       </para>
1240       <para>
1241        A value of 'solr' enables Solr client support. This is supported
1242        for Pazpar version 1.5.0 and later.
1243       </para>
1244      </listitem>
1245     </varlistentry>
1246     
1247     <varlistentry>
1248      <term>pz:sru_version</term>
1249      <listitem>
1250       <para>
1251        This allows SRU version to be specified. If unset Pazpar2
1252        will the default of YAZ (currently 1.2). Should be set
1253        to 1.1 or 1.2. For Solr, the current supported/tested version is 1.4 and 3.x.
1254       </para>
1255      </listitem>
1256     </varlistentry>
1257     
1258     <varlistentry>
1259      <term>pz:pqf_prefix</term>
1260      <listitem>
1261       <para>
1262        Allows you to specify an arbitrary PQF query language substring.
1263        The provided string is prefixed to the user's query after it has been
1264        normalized to PQF internally in pazpar2.
1265        This allows you to attach complex 'filters' to queries for a given
1266        target, sometimes necessary to select sub-catalogs
1267        in union catalog systems, etc.
1268       </para>
1269      </listitem>
1270     </varlistentry>
1271     
1272     <varlistentry>
1273      <term>pz:pqf_strftime</term>
1274      <listitem>
1275       <para>
1276        Allows you to extend a query with dates and operators.
1277        The provided string allows certain substitutions and serves as a
1278        format string.
1279        The special two character sequence '%%' gets converted to the
1280        original query. Other characters leading with the percent sign are
1281        conversions supported by strftime.
1282        All other characters are copied verbatim. For example, the string
1283        <literal>@and @attr 1=30 @attr 2=3 %Y %%</literal>
1284        would search for current year combined with the original PQF (%%).
1285       </para>
1286       <para>
1287        This setting can also be used as more general alternative to
1288        pz:pqf_prefix -- a way of embedding the submitted query
1289        anywhere in the string rather than appending it to prefix.  For
1290        example, if it is desired to omit all records satisfying the
1291        query <literal>@attr 1=pica.bib 0007</literal> then this
1292        subquery can be combined with the submitted query as the second
1293        argument of <literal>@andnot</literal> by using the
1294        pz:pqf_strftime value <literal>@not %% @attr 1=pica.bib
1295        0007</literal>.
1296       </para>
1297      </listitem>
1298     </varlistentry>
1299     
1300     <varlistentry>
1301      <term>pz:sort</term>
1302      <listitem>
1303       <para>
1304        Specifies sort criteria to be applied to the result set.
1305        Only works for targets which support the sort service.
1306       </para>
1307      </listitem>
1308     </varlistentry>
1309
1310     <varlistentry>
1311      <term>pz:recordfilter</term>
1312      <listitem>
1313       <para>
1314        Specifies a filter which allows Pazpar2 to only include
1315        records that meet a certain criteria in a result.
1316        Unmatched records  will be ignored.
1317        The filter takes the form name, name~value, or name=value, which
1318        will include only records with metadata element (name) that has the
1319        substring (~value) given, or matches exactly (=value).
1320        If value is omitted all records with the named metadata element
1321        present will be included.
1322       </para>
1323      </listitem>
1324     </varlistentry>
1325     
1326     <varlistentry>
1327      <term>pz:preferred</term>
1328      <listitem>
1329       <para>
1330        Specifies that a target is preferred, e.g. possible local, faster
1331        target. Using block=pref on show command will wait for all these
1332        targets to return records before releasing the block.
1333        If no target is preferred, the block=pref will identical to block=1,
1334        which release when one target has returned records.     
1335       </para>
1336      </listitem>
1337     </varlistentry>
1338     <varlistentry>
1339      <term>pz:block_timeout</term>
1340      <listitem>
1341       <para>
1342        (Not yet implemented).
1343        Specifies the time for which a block should be released anyway.      
1344       </para>
1345      </listitem>
1346     </varlistentry>
1347     <varlistentry>
1348      <term>pz:termlist_term_count</term>
1349      <listitem>
1350       <para>
1351        Specifies number of facet terms to be requested from the target. 
1352        The default is unspecified e.g. server-decided. Also see pz:facetmap.
1353       </para>
1354      </listitem>
1355     </varlistentry>
1356     <varlistentry>
1357      <term>pz:termlist_term_factor</term>
1358      <listitem>
1359       <para>
1360        Specifies whether to use a factor for pazpar2 generated facets (1) or not (0). 
1361        When mixing locallly generated (by the downloaded (pz:maxrecs) samples) 
1362        facet with native (target-generated) facets, the later will dominated the dominate the facet list
1363        since they are generated based on the complete result set. 
1364        By scaling up the facet count using the ratio between total hit count and the sample size, 
1365        the total facet count can be approximated and thus better compared with native facets. 
1366        This is not enabled by default.
1367       </para>
1368      </listitem>
1369     </varlistentry>
1370
1371     <varlistentry>
1372      <term>pz:facetmap:<replaceable>name</replaceable></term>
1373      <listitem>
1374       <para>
1375        Specifies that for field <replaceable>name</replaceable>, the target
1376        supports (native) facets. The value is the name of the
1377        field on the target.
1378       </para>
1379       <note>
1380        <para>
1381         At this point only Solr targets have been tested with this
1382         facility.
1383        </para>
1384       </note>
1385      </listitem>
1386     </varlistentry>
1387
1388     <varlistentry id="limitmap">
1389      <term>pz:limitmap:<replaceable>name</replaceable></term>
1390      <listitem>
1391       <para>
1392        Specifies attributes for limiting a search to a field - using
1393        the limit parameter for search. It can be used to filter locally
1394        or remotely (search in a target). In some cases the mapping of 
1395        a field to a value is identical to an existing cclmap field; in
1396        other cases the field must be specified in a different way - for
1397        example to match a complete field (rather than parts of a subfield).
1398       </para>
1399       <para>
1400        The value of limitmap may have one of three forms: referral to
1401        an existing CCL field, a raw PQF string or a local limit. Leading string
1402        determines type; either <literal>ccl:</literal> for CCL field, 
1403        <literal>rpn:</literal> for PQF/RPN, or <literal>local:</literal>
1404        for filtering in Pazpar2. The local filtering may be followed
1405        by a field a metadata field (default is to use the name of the 
1406        limitmap itself).
1407       </para>
1408       <note>
1409        <para>
1410         The limitmap facility is supported for Pazpar2 version 1.6.0.
1411         Local filtering is supported in Pazpar2 1.6.6.
1412        </para>
1413       </note>
1414      </listitem>
1415     </varlistentry>
1416
1417     <varlistentry id="pzurl">
1418      <term>pz:url</term>
1419      <listitem>
1420       <para>
1421        Specifies URL for the target and overrides the target ID.
1422       </para>
1423       <note>
1424        <para>
1425         <literal>pz:url</literal> is only recognized for
1426         Pazpar2 1.6.4 and later.
1427        </para>
1428       </note>
1429      </listitem>
1430     </varlistentry>
1431
1432     <varlistentry id="pzsortmap">
1433      <term>pz:sortmap:<replaceable>field</replaceable></term>
1434      <listitem>
1435       <para>
1436        Specifies native sorting for a target where
1437        <replaceable>field</replaceable> is a sort criteria (see command
1438        show). The value has to components separated by colon: strategy and
1439        native-field. Strategy is one of <literal>z3950</literal>,
1440        <literal>type7</literal>, <literal>cql</literal>,
1441        <literal>sru11</literal>, or <literal>embed</literal>.
1442        The second component, native-field, is the field that is recognized
1443        by the target.
1444       </para>
1445       <note>
1446        <para>
1447         Only supported for Pazpar2 1.6.4 and later.
1448        </para>
1449       </note>
1450      </listitem>
1451     </varlistentry>
1452     
1453    </variablelist>
1454    
1455   </refsect2>
1456
1457  </refsect1>
1458  <refsect1>
1459   <title>SEE ALSO</title>
1460   <para>
1461    <citerefentry>
1462     <refentrytitle>pazpar2</refentrytitle>
1463     <manvolnum>8</manvolnum>
1464    </citerefentry>
1465    <citerefentry>
1466     <refentrytitle>yaz-icu</refentrytitle>
1467     <manvolnum>1</manvolnum>
1468    </citerefentry>
1469    <citerefentry>
1470     <refentrytitle>pazpar2_protocol</refentrytitle>
1471     <manvolnum>7</manvolnum>
1472    </citerefentry>
1473   </para>
1474  </refsect1>
1475 </refentry>
1476 <!-- Keep this comment at the end of the file
1477 Local variables:
1478 mode: nxml
1479 nxml-child-indent: 1
1480 End:
1481 -->