X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fquickstart.xml;h=d7f0d00b5a5b9fc279a12124dfdaadf540bd85e4;hb=49f49aa27c8d63cea66dfb5a9e06e5735c835509;hp=e1dd6997f68982560ca830729a89a6539c603e9b;hpb=79dbb0556936ee101483f693d38bd5e97c49689e;p=idzebra-moved-to-github.git diff --git a/doc/quickstart.xml b/doc/quickstart.xml index e1dd699..d7f0d00 100644 --- a/doc/quickstart.xml +++ b/doc/quickstart.xml @@ -1,43 +1,53 @@ - + Quick Start + + In this section, we will test the system by indexing a small set of sample GILS records that are included with the software distribution. Go to the - test/gils subdirectory of the distribution archive. + examples/gils subdirectory of the distribution archive. There you will find a configuration file named zebra.cfg with the following contents: - # Where are the YAZ tables located. - profilePath: ../../../yaz/tab ../../tab - + # Where the schema files, attribute files, etc are located. + profilePath: ../../tab + # Files that describe the attribute sets supported. attset: bib1.att attset: gils.att + attset: explain.att + + recordtype: grs.sgml + isam: c - + + The 48 test records are located in the sub directory records. To index these, type: - $ ../../index/zebraidx -t grs.sgml update records + zebraidx update records - In the command above the option -t specified the record - type — in this case grs.sgml. - The word update followed + In the command above, the word update followed by a directory root updates all files below that directory node. @@ -46,7 +56,7 @@ fire up a server. To start a server on port 2100, type: - $ ../../index/zebrasrv tcp:@:2100 + zebrasrv tcp:@:2100 @@ -61,14 +71,12 @@ - To test the server, you can use any Z39.50 client (1992 or later). - For instance, you can use the demo client that comes with YAZ: Just - cd to the client subdirectory of the YAZ distribution - and type: + To test the server, you can use any Z39.50 client. + For instance, you can use the demo client that comes with YAZ: - $ ./yaz-client tcp:localhost:2100 + yaz-client tcp:localhost:2100 @@ -76,8 +84,7 @@ When the client has connected, you can type: - - + Z> find surficial Z> show 1 @@ -109,8 +116,12 @@ - If you've made it this far, there's a good chance that - you've got through the compilation OK. + If you've made it this far, you know that your installation is + working, but there's a certain amount of voodoo going on - for + example, the mysterious incantations in the + zebra.cfg file. In order to help us understand + these fully, the next chapter will work through a series of + increasingly complex example configurations.