Doc: relevance section refer to config description
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 21 Nov 2013 10:40:44 +0000 (11:40 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 21 Nov 2013 10:40:44 +0000 (11:40 +0100)
doc/book.xml
doc/pazpar2_conf.xml

index f3c8235..58e9ca6 100644 (file)
           tf[i] = tf[i] / cluster_size;
        relevance += 100000 * tf[i] / idf[i];
        ]]></screen>
+   <para>
+    For controlling the ranking parameters, refer to the
+    <link linkend="service-rank">rank</link> element of the 
+    service definition.
+    Refer to the <link linkend="metadata-rank">rank</link> attribute
+    of the metadata element for how to control ranking for individual
+    metadata fields.
+   </para>
   </section> <!-- relevance_ranking -->
 
   <section id="masterkey_connect">
index 05ca85d..66704eb 100644 (file)
        </listitem>
        </varlistentry>
 
-       <varlistentry>
+       <varlistentry id="service-rank">
        <term>rank</term>
        <listitem>
         <para>
  <server>
   <listen port="9004"/>
   <service>
+   <rank debug="yes"/>
    <metadata name="title" brief="yes" sortkey="skiparticle"
              merge="longest" rank="6"/>
    <metadata name="isbn" merge="unique"/>