X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=doc%2Ftutorial.xml;h=8d79bd866b5deaf53142f9ce14f3f1354ccbca29;hp=e96f9427b467427babea35c48fe83f8063c79d46;hb=dcda88860b03641b6900d43135ca769f005105e8;hpb=3ec73ef21b81b6d2abd9f21c31bf4ae4560df7ca diff --git a/doc/tutorial.xml b/doc/tutorial.xml index e96f942..8d79bd8 100644 --- a/doc/tutorial.xml +++ b/doc/tutorial.xml @@ -1,7 +1,7 @@ Tutorial - + A first &acro.oai; indexing example @@ -15,12 +15,12 @@ Go to the examples/oai-pmh subdirectory of the distribution archive, or make a deep copy of the Debian installation directory - /usr/share/idzebra-2.0.-examples/oai-pmh. + /usr/share/idzebra-2.0-examples/oai-pmh. An XML file containing multiple &acro.oai; records is located in the sub - directory examples/oai-pmh/data. + directory examples/oai-pmh/data. - + Additional OAI test records can be downloaded by running a shell script (you may want to abort the script when you have waited longer than your coffee brews ..). @@ -30,7 +30,7 @@ cd ../ - + To index these &acro.oai; records, type: zebraidx-2.0 -c conf/zebra.cfg init @@ -40,24 +40,24 @@ In case you have not installed zebra yet but have compiled the binaries from this tarball, use the following command form: - ../../index/zebraidx -c conf/zebra.cfg this and that + ../../index/zebraidx -c conf/zebra.cfg this and that On some systems the &zebra; binaries are installed under the generic names, you need to use the following command form: - zebraidx -c conf/zebra.cfg this and that + zebraidx -c conf/zebra.cfg this and that - + In this command, the word update is followed by the name of a directory: zebraidx updates all - files in the hierarchy rooted at data. - The command option + files in the hierarchy rooted at data. + The command option -c conf/zebra.cfg points to the proper configuration file. - + You might ask yourself how &acro.xml; content is indexed using &acro.xslt; stylesheets: to satisfy your curiosity, you might want to run the @@ -86,17 +86,17 @@ return records in the &acro.xml; format only. The indexing machine did the splitting into individual records just behind the scenes. - + Searching the &acro.oai; database by web service - + &zebra; has a build-in web service, which is close to the &acro.sru; standard web service. We use it to access our new - database using any &acro.xml; enabled web browser. + database using any &acro.xml; enabled web browser. This service is using the &acro.pqf; query language. In a later section we show how to run a fully compliant &acro.sru; server, @@ -138,7 +138,7 @@