1 <chapter id="quick-start">
2 <title>Quick Start </title>
5 <!-- ### ulink to GILS profile: what's the URL? -->
6 In this section, we will test the system by indexing a small set of
7 sample GILS records that are included with the &zebra; distribution,
8 running a &zebra; server against the newly created database, and
9 searching the indexes with a client that connects to that server.
12 Go to the <literal>examples/gils</literal> subdirectory of the
13 distribution archive. The 48 test records are located in the sub
14 directory <literal>records</literal>. To index these, type:
16 zebraidx update records
21 In this command, the word <literal>update</literal> is followed
22 by the name of a directory: <literal>zebraidx</literal> updates all
23 files in the hierarchy rooted at that directory.
27 If your indexing command was successful, you are now ready to
28 fire up a server. To start a server on port 2100, type:
37 The &zebra; index that you have just created has a single database
38 named <literal>Default</literal>.
39 The database contains records structured according to
40 the GILS profile, and the server will
41 return records in &acro.usmarc;, &acro.grs1;, or &acro.sutrs; format depending
42 on what the client asks for.
46 To test the server, you can use any &acro.z3950; client.
47 For instance, you can use the demo command-line client that comes
52 yaz-client localhost:2100
57 When the client has connected, you can type:
68 The default retrieval syntax for the client is &acro.usmarc;, and the
69 default element set is <literal>F</literal> (``full record''). To
70 try other formats and element sets for the same record, try:
86 <para>You may notice that more fields are returned when your
87 client requests &acro.sutrs;, &acro.grs1; or &acro.xml; records.
88 This is normal - not all of the GILS data elements have mappings in
89 the &acro.usmarc; record format.
93 If you've made it this far, you know that your installation is
94 working, but there's a certain amount of voodoo going on - for
95 example, the mysterious incantations in the
96 <literal>zebra.cfg</literal> file. In order to help us understand
97 these fully, the next chapter will work through a series of
98 increasingly complex example configurations.
103 <!-- Keep this comment at the end of the file
108 sgml-minimize-attributes:nil
109 sgml-always-quote-attributes:t
112 sgml-parent-document: "zebra.xml"
113 sgml-local-catalogs: nil
114 sgml-namecase-general:t