Document pz:sortmap
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Oct 2011 11:11:33 +0000 (13:11 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 12 Oct 2011 11:11:33 +0000 (13:11 +0200)
doc/pazpar2_conf.xml
doc/pazpar2_protocol.xml

index 1120185..e558c65 100644 (file)
       </note>
      </listitem>
     </varlistentry>
+
+    <varlistentry id="pzsortmap">
+     <term>pz:sortmap:<replaceable>field</replaceable></term>
+     <listitem>
+      <para>
+       Specifies native sorting for a target where
+       <replaceable>field</replaceable> is a sort criteria (see command
+       show). The value has to components separated by colon: strategy and
+       native-field. Strategy is one of <literal>z3950</literal>,
+       <literal>type7</literal>, <literal>cql</literal>,
+       <literal>sru11</literal>, or <literal>embed</literal>.
+       The second component, native-field, is the field that is recognized
+       by the target.
+      </para>
+      <note>
+       <para>
+       Only supported for Pazpar2 1.6.4 and later.
+       </para>
+      </note>
+     </listitem>
+    </varlistentry>
     
    </variablelist>
-
+   
   </refsect2>
 
  </refsect1>
index a9e28b8..47314ac 100644 (file)
@@ -355,6 +355,11 @@ search.pz2?session=2044502273&command=stat
         in the pazpar2.cfg file, or the special names 'relevance' and
        'position'.
        </para>
+       <para>
+       For targets where If <link linkend="pz:sortmap">pz:sortmap</link>
+       is defined, a sort operation will be executed (possibly including
+       extending the search).
+       </para>
       </listitem>
      </varlistentry>