Fix documentation of of chr's equivalent directive ZEB-672
[idzebra-moved-to-github.git] / doc / tutorial.xml
index 52498be..0cd0bd7 100644 (file)
      any:w
      title:w
      author:w
-     subject:w
+     subject-heading:w
      description:w
      contributor:w
      publisher:w
     correct &acro.pqf; query. For example, to search in titles only,
     we use
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr
-     1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr
-     1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr 1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr 1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
     <literal>description</literal> using the query
     <literal>@and @attr 1=title the @attr 1=description fish</literal>.
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and
-     @attr 1=title the
-     @attr 1=description
-     fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and
-     @attr 1=title the
-     @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and @attr 1=title the @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and @attr 1=title the @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
 
    <para>
     The &acro.sru; specification mandates that the &acro.cql; query
-    language is supported and properly configure. Also, the server
+    language is supported and properly configured. Also, the server
     needs to be able to emit a proper  &acro.explain; &acro.xml;
     record, which is used to determine the capabilities of the
     specific server instance.
    </para>
 
    <para>
-    We are all set to start the &acro.sru;/acro.z3950; server including
+    We are all set to start the &acro.sru;/&acro.z3950; server including
     &acro.pqf; and &acro.cql; query configuration. It uses the &yaz; frontend
     server configuration - just type
     <screen>
     <ulink
      url="http://localhost:9999">http://localhost:9999
     </ulink>
+    or
     <ulink
      url="http://localhost:9999/?version=1.1&amp;operation=explain">
      http://localhost:9999/?version=1.1&amp;operation=explain
     <literal>dc.title=the
      and dc.description=fish</literal> results in the following page
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish
-     &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
     schema's of the form
     <literal>zebra::</literal> just work right out of the box
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish
-     &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet
     </ulink>
    </para>