X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=samples%2FREADME;h=df6d41357f7bcc396e9f862226fb67f637290cb0;hb=6a4ccd8becf9b74935a3da6bc919225858a7d32a;hp=f4e76863dd3e1cc3448594f5c2cdc7aae2761c36;hpb=720f16803dced409785e785bdbd6040b87247fad;p=ZOOM-Perl-moved-to-github.git diff --git a/samples/README b/samples/README index f4e7686..df6d413 100644 --- a/samples/README +++ b/samples/README @@ -1,5 +1,3 @@ -$Id: README,v 1.2 2005-12-09 10:35:46 mike Exp $ - This area contains sample programs that exercise all three of the APIs supported by this module. The programs for each API are contained in separate subdirectories: @@ -23,11 +21,25 @@ net-z3950 -- Test programs using the obsolescent Net::Z3950 interface, In general, each sample program exists in a different version in all three directories, under the same name in each. The programs are: -zoomtst1.pl -- A direct translation of the "zoomtst.c" application +zoomtst1.pl -- A direct translation of the "zoomtst1.c" application from the YAZ distribution, except that these versions go on to fetch the records that they find, whereas the C version is satisfied just to get the hit count. +zoomtst3.pl -- A direct translation of the "zoomtst3.c" application + from the YAZ distribution -- simultaneous search of multiple + targets. Pretty cool :-) + +async.pl -- A slightly cleverer version of "zoomtst3.pl" which takes + advantage of the new END element introduced in YAZ 2.1.17 to + display each server's records as soon as they have been + received, rather than waiting until all servers have finished + their jobs as in every previous ZOOM-based multiplexer. + +update.pl -- Create a new database and add a record to it. + In addition, this "sample" directory contains sample records that are used by the test-suite to exercise the update functionality. These -are found in the "records" subdirectory. +are found in the "records" subdirectory. It also provides a +CQL-to-PQF mapping file (copied blindly from the one in the YAZ +distribution), found in the "cql" directory.