X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fquickstart.xml;h=1aae924cba579aa988a297491a010d5c99b9804c;hb=7c3a0352f0492609a3b6b26b63a72b0b2d207aab;hp=f962421fac1b831ae7b3555bc60ce6238cc01b51;hpb=528edc9943ba3311a40b4ab875c0bc9aca5caa87;p=idzebra-moved-to-github.git diff --git a/doc/quickstart.xml b/doc/quickstart.xml index f962421..1aae924 100644 --- a/doc/quickstart.xml +++ b/doc/quickstart.xml @@ -1,51 +1,27 @@ - + Quick Start - - - FIXME - Start with the new improved example scripts that run - without any configuration file changes! - - 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. - There you will find a configuration - file named zebra.cfg with the following contents: - - - # Where the schema files, attribute files, etc are located. - profilePath: .:../../tab:../../../yaz/tab:/usr/local/share/yaz/tab:/usr/share/yaz/tab - - # Files that describe the attribute sets supported. - attset: bib1.att - attset: gils.att - attset: explain.att - - recordtype: grs.sgml - isam: c - - - - - If necessary, edit the file and set profilePath to the path of the - YAZ profile tables (sub directory tab of the YAZ - distribution archive). + + In this section, we will test the system by indexing a small set of + sample GILS records that are included with the Zebra distribution, + running Zebra a server against the newly created database, and + searching the indexes with a client that connects to that server. - - The 48 test records are located in the sub directory - records. To index these, type: - + Go to the examples/gils subdirectory of the + distribution archive. The 48 test records are located in the sub + directory records. To index these, type: zebraidx update records - In the command above, the word update followed - by a directory root updates all files below that directory node. + In this command, the word update is followed + by the name of a directory: zebraidx updates all + files in the hierarchy rooted at that directory. @@ -53,7 +29,7 @@ fire up a server. To start a server on port 2100, type: - zebrasrv tcp:@:2100 + zebrasrv @:2100 @@ -63,17 +39,18 @@ named Default. The database contains records structured according to the GILS profile, and the server will - return records in either either USMARC, GRS-1, or SUTRS depending - on what your client asks for. + return records in USMARC, GRS-1, or SUTRS format depending + on what the client asks for. To test the server, you can use any Z39.50 client. - For instance, you can use the demo client that comes with YAZ: + For instance, you can use the demo command-line client that comes + with YAZ: - yaz-client tcp:localhost:2100 + yaz-client localhost:2100 @@ -89,8 +66,9 @@ - The default retrieval syntax for the client is USMARC. To try other - formats for the same record, try: + The default retrieval syntax for the client is USMARC, and the + default element set is F (``full record''). To + try other formats and element sets for the same record, try: @@ -107,8 +85,8 @@ You may notice that more fields are returned when your - client requests SUTRS or GRS-1 records. When retrieving GILS records, - this is normal - not all of the GILS data elements have mappings in + client requests SUTRS, GRS-1 or XML records. + This is normal - not all of the GILS data elements have mappings in the USMARC record format.